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

Function luaC_step

third-party/lua-5.2.4/src/lgc.c:1177–1181  ·  view source on GitHub ↗

** performs a basic GC step only if collector is running */

Source from the content-addressed store, hash-verified

1175** performs a basic GC step only if collector is running
1176*/
1177void luaC_step (lua_State *L) {
1178 global_State *g = G(L);
1179 if (g->gcrunning) luaC_forcestep(L);
1180 else luaE_setdebt(g, -GCSTEPSIZE); /* avoid being called too often */
1181}
1182
1183
1184

Callers 1

lvm.cFile · 0.70

Calls 2

luaC_forcestepFunction · 0.85
luaE_setdebtFunction · 0.70

Tested by

no test coverage detected