MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / deletelist

Function deletelist

Dependencies/lua/src/lgc.c:1498–1504  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1496** 'limit'.
1497*/
1498static void deletelist (lua_State *L, GCObject *p, GCObject *limit) {
1499 while (p != limit) {
1500 GCObject *next = p->next;
1501 freeobj(L, p);
1502 p = next;
1503 }
1504}
1505
1506
1507/*

Callers 1

luaC_freeallobjectsFunction · 0.85

Calls 1

freeobjFunction · 0.85

Tested by

no test coverage detected