| 613 | |
| 614 | |
| 615 | Table *luaH_new (lua_State *L) { |
| 616 | GCObject *o = luaC_newobj(L, LUA_VTABLE, sizeof(Table)); |
| 617 | Table *t = gco2t(o); |
| 618 | t->metatable = NULL; |
| 619 | t->flags = cast_byte(maskflags); /* table has no metamethod fields */ |
| 620 | t->array = NULL; |
| 621 | t->alimit = 0; |
| 622 | setnodevector(L, t, 0); |
| 623 | return t; |
| 624 | } |
| 625 | |
| 626 | |
| 627 | void luaH_free (lua_State *L, Table *t) { |
no test coverage detected