MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / deletelist

Function deletelist

3rd/lua-5.4.3/src/lgc.c:1490–1496  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1488** 'limit'.
1489*/
1490static void deletelist (lua_State *L, GCObject *p, GCObject *limit) {
1491 while (p != limit) {
1492 GCObject *next = p->next;
1493 freeobj(L, p);
1494 p = next;
1495 }
1496}
1497
1498
1499/*

Callers 1

luaC_freeallobjectsFunction · 0.85

Calls 1

freeobjFunction · 0.85

Tested by

no test coverage detected