| 536 | |
| 537 | |
| 538 | Table *luaH_new(lua_State *L) { |
| 539 | GCObject *o = luaC_newobj(L, LUA_TTABLE, sizeof(Table)); |
| 540 | Table *t = gco2t(o); |
| 541 | t->metatable = nullptr; |
| 542 | t->flags = cast_byte(~0); |
| 543 | t->array = nullptr; |
| 544 | t->sizearray = 0; |
| 545 | setnodevector(L, t, 0); |
| 546 | return t; |
| 547 | } |
| 548 | |
| 549 | |
| 550 | void luaH_free(lua_State *L, Table *t) { |
no test coverage detected