MCPcopy Create free account
hub / github.com/DFHack/dfhack / luaH_free

Function luaH_free

depends/lua/src/ltable.c:433–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431
432
433void luaH_free (lua_State *L, Table *t) {
434 if (!isdummy(t))
435 luaM_freearray(L, t->node, cast(size_t, sizenode(t)));
436 luaM_freearray(L, t->array, t->sizearray);
437 luaM_free(L, t);
438}
439
440
441static Node *getfreepos (Table *t) {

Callers 1

freeobjFunction · 0.85

Calls 1

castFunction · 0.85

Tested by

no test coverage detected