MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / freeCI

Function freeCI

lib/lua/src/lstate.c:122–131  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

120** free all CallInfo structures not in use by a thread
121*/
122static void freeCI (lua_State *L) {
123 CallInfo *ci = L->ci;
124 CallInfo *next = ci->next;
125 ci->next = NULL;
126 while ((ci = next) != NULL) {
127 next = ci->next;
128 luaM_free(L, ci);
129 L->nci--;
130 }
131}
132
133
134/*

Callers 1

freestackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected