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

Function deletelist

extlibs/lua/src/lgc.c:1390–1396  ·  view source on GitHub ↗

** Delete all objects in list 'p' until (but not including) object ** 'limit'. */

Source from the content-addressed store, hash-verified

1388** 'limit'.
1389*/
1390static void deletelist (lua_State *L, GCObject *p, GCObject *limit) {
1391 while (p != limit) {
1392 GCObject *next = p->next;
1393 freeobj(L, p);
1394 p = next;
1395 }
1396}
1397
1398
1399/*

Callers 1

luaC_freeallobjectsFunction · 0.85

Calls 1

freeobjFunction · 0.85

Tested by

no test coverage detected