MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / deletelist

Function deletelist

third-party/lua-5.5.0/src/lgc.c:1516–1522  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1514** 'limit'.
1515*/
1516static void deletelist (lua_State *L, GCObject *p, GCObject *limit) {
1517 while (p != limit) {
1518 GCObject *next = p->next;
1519 freeobj(L, p);
1520 p = next;
1521 }
1522}
1523
1524
1525/*

Callers 1

luaC_freeallobjectsFunction · 0.70

Calls 1

freeobjFunction · 0.70

Tested by

no test coverage detected