MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / luaC_runtilstate

Function luaC_runtilstate

extlibs/lua/src/lgc.c:1531–1535  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1529** by 'statemask'
1530*/
1531void luaC_runtilstate (lua_State *L, int statesmask) {
1532 global_State *g = G(L);
1533 while (!testbit(statesmask, g->gcstate))
1534 singlestep(L);
1535}
1536
1537
1538/*

Callers 3

entergenFunction · 0.85
stepgenfullFunction · 0.85
fullincFunction · 0.85

Calls 1

singlestepFunction · 0.85

Tested by

no test coverage detected