| 548 | |
| 549 | |
| 550 | void luaH_free(lua_State *L, Table *t) { |
| 551 | if (!isdummy(t->node)) |
| 552 | luaM_freearray(L, t->node, lua_cast(size_t, sizenode(t))); |
| 553 | luaM_freearray(L, t->array, t->sizearray); |
| 554 | luaM_free(L, t); |
| 555 | } |
| 556 | |
| 557 | |
| 558 | static Node *getfreepos(Table *t) { |