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

Function sweeptolive

extlibs/lua/src/lgc.c:782–788  ·  view source on GitHub ↗

** sweep a list until a live object (or end of list) */

Source from the content-addressed store, hash-verified

780** sweep a list until a live object (or end of list)
781*/
782static GCObject **sweeptolive (lua_State *L, GCObject **p) {
783 GCObject **old = p;
784 do {
785 p = sweeplist(L, p, 1, NULL);
786 } while (p == old);
787 return p;
788}
789
790/* }====================================================== */
791

Callers 2

luaC_checkfinalizerFunction · 0.85
entersweepFunction · 0.85

Calls 1

sweeplistFunction · 0.85

Tested by

no test coverage detected