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

Function poptbclist

lib/lua/src/lfunc.c:213–220  ·  view source on GitHub ↗

** Remove first element from the tbclist plus its dummy nodes. */

Source from the content-addressed store, hash-verified

211** Remove first element from the tbclist plus its dummy nodes.
212*/
213static void poptbclist (lua_State *L) {
214 StkId tbc = L->tbclist.p;
215 lua_assert(tbc->tbclist.delta > 0); /* first element cannot be dummy */
216 tbc -= tbc->tbclist.delta;
217 while (tbc > L->stack.p && tbc->tbclist.delta == 0)
218 tbc -= MAXDELTA; /* remove dummy nodes */
219 L->tbclist.p = tbc;
220}
221
222
223/*

Callers 1

luaF_closeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected