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

Function luaC_runtilstate

third-party/lua-5.4.6/src/lgc.c:1652–1656  ·  view source on GitHub ↗

** advances the garbage collector until it reaches a state allowed ** by 'statemask' */

Source from the content-addressed store, hash-verified

1650** by 'statemask'
1651*/
1652void luaC_runtilstate (lua_State *L, int statesmask) {
1653 global_State *g = G(L);
1654 while (!testbit(statesmask, g->gcstate))
1655 singlestep(L);
1656}
1657
1658
1659

Callers 3

entergenFunction · 0.70
stepgenfullFunction · 0.70
fullincFunction · 0.70

Calls 1

singlestepFunction · 0.70

Tested by

no test coverage detected