MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / sweeptolive

Function sweeptolive

lib/lua/src/lgc.c:851–857  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

849** sweep a list until a live object (or end of list)
850*/
851static GCObject **sweeptolive (lua_State *L, GCObject **p) {
852 GCObject **old = p;
853 do {
854 p = sweeplist(L, p, 1, NULL);
855 } while (p == old);
856 return p;
857}
858
859/* }====================================================== */
860

Callers 2

luaC_checkfinalizerFunction · 0.85
entersweepFunction · 0.85

Calls 1

sweeplistFunction · 0.85

Tested by

no test coverage detected