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

Function luaC_runtilstate

src/Chain/libraries/glua/lgc.cpp:1108–1112  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1106** by 'statemask'
1107*/
1108void luaC_runtilstate(lua_State *L, int statesmask) {
1109 global_State *g = G(L);
1110 while (!testbit(statesmask, g->gcstate))
1111 singlestep(L);
1112}
1113
1114
1115/*

Callers 1

luaC_fullgcFunction · 0.85

Calls 1

singlestepFunction · 0.85

Tested by

no test coverage detected