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

Function enterinc

extlibs/lua/src/lgc.c:1208–1217  ·  view source on GitHub ↗

** Enter incremental mode. Turn all objects white, make all ** intermediate lists point to NULL (to avoid invalid pointers), ** and go to the pause state. */

Source from the content-addressed store, hash-verified

1206** and go to the pause state.
1207*/
1208static void enterinc (global_State *g) {
1209 whitelist(g, g->allgc);
1210 g->reallyold = g->old = g->survival = NULL;
1211 whitelist(g, g->finobj);
1212 whitelist(g, g->tobefnz);
1213 g->finobjrold = g->finobjold = g->finobjsur = NULL;
1214 g->gcstate = GCSpause;
1215 g->gckind = KGC_INC;
1216 g->lastatomic = 0;
1217}
1218
1219
1220/*

Callers 3

luaC_changemodeFunction · 0.85
fullgenFunction · 0.85
stepgenfullFunction · 0.85

Calls 1

whitelistFunction · 0.85

Tested by

no test coverage detected