| 580 | |
| 581 | |
| 582 | Table *luaH_new (lua_State *L) { |
| 583 | GCObject *o = luaC_newobj(L, LUA_VTABLE, sizeof(Table)); |
| 584 | Table *t = gco2t(o); |
| 585 | t->metatable = NULL; |
| 586 | t->flags = cast_byte(~0); |
| 587 | t->array = NULL; |
| 588 | t->alimit = 0; |
| 589 | setnodevector(L, t, 0); |
| 590 | return t; |
| 591 | } |
| 592 | |
| 593 | |
| 594 | void luaH_free (lua_State *L, Table *t) { |
no test coverage detected