| 624 | |
| 625 | |
| 626 | Table *luaH_new (lua_State *L) { |
| 627 | GCObject *o = luaC_newobj(L, LUA_VTABLE, sizeof(Table)); |
| 628 | Table *t = gco2t(o); |
| 629 | t->metatable = NULL; |
| 630 | t->flags = cast_byte(maskflags); /* table has no metamethod fields */ |
| 631 | t->array = NULL; |
| 632 | t->alimit = 0; |
| 633 | setnodevector(L, t, 0); |
| 634 | return t; |
| 635 | } |
| 636 | |
| 637 | |
| 638 | void luaH_free (lua_State *L, Table *t) { |
no test coverage detected