MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / luaE_freeCI

Function luaE_freeCI

src/Chain/libraries/glua/lstate.cpp:125–134  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

123** free all CallInfo structures not in use by a thread
124*/
125void luaE_freeCI(lua_State *L) {
126 CallInfo *ci = L->ci;
127 CallInfo *next = ci->next;
128 ci->next = nullptr;
129 while ((ci = next) != nullptr) {
130 next = ci->next;
131 luaM_free(L, ci);
132 L->nci--;
133 }
134}
135
136
137/*

Callers 2

luaD_shrinkstackFunction · 0.85
freestackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected