MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / freeCI

Function freeCI

third-party/lua-5.5.0/src/lstate.c:88–97  ·  view source on GitHub ↗

** free all CallInfo structures not in use by a thread */

Source from the content-addressed store, hash-verified

86** free all CallInfo structures not in use by a thread
87*/
88static void freeCI (lua_State *L) {
89 CallInfo *ci = L->ci;
90 CallInfo *next = ci->next;
91 ci->next = NULL;
92 while ((ci = next) != NULL) {
93 next = ci->next;
94 luaM_free(L, ci);
95 L->nci--;
96 }
97}
98
99
100/*

Callers 1

freestackFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected