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

Function freehash

third-party/lua-5.5.0/src/ltable.c:393–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391
392
393static void freehash (lua_State *L, Table *t) {
394 if (!isdummy(t)) {
395 /* get pointer to the beginning of Node array */
396 char *arr = cast_charp(t->node) - extraLastfree(t);
397 luaM_freearray(L, arr, sizehash(t));
398 }
399}
400
401
402/*

Callers 2

luaH_resizeFunction · 0.70
luaH_freeFunction · 0.70

Calls 1

sizehashFunction · 0.85

Tested by

no test coverage detected