| 419 | |
| 420 | |
| 421 | Table *luaH_new (lua_State *L) { |
| 422 | GCObject *o = luaC_newobj(L, LUA_TTABLE, sizeof(Table)); |
| 423 | Table *t = gco2t(o); |
| 424 | t->metatable = NULL; |
| 425 | t->flags = cast_byte(~0); |
| 426 | t->array = NULL; |
| 427 | t->sizearray = 0; |
| 428 | setnodevector(L, t, 0); |
| 429 | return t; |
| 430 | } |
| 431 | |
| 432 | |
| 433 | void luaH_free (lua_State *L, Table *t) { |
no test coverage detected