MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / luaC_runtilstate

Function luaC_runtilstate

3rd/lua-5.4.3/src/lgc.c:1643–1647  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1641** by 'statemask'
1642*/
1643void luaC_runtilstate (lua_State *L, int statesmask) {
1644 global_State *g = G(L);
1645 while (!testbit(statesmask, g->gcstate))
1646 singlestep(L);
1647}
1648
1649
1650/*

Callers 3

entergenFunction · 0.85
stepgenfullFunction · 0.85
fullincFunction · 0.85

Calls 1

singlestepFunction · 0.85

Tested by

no test coverage detected