diff options
Diffstat (limited to 'ltable.c')
| -rw-r--r-- | ltable.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltable.c,v 1.119 2002/09/02 19:54:49 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 1.120 2002/11/07 15:37:10 roberto Exp roberto $ |
| 3 | ** Lua tables (hash) | 3 | ** Lua tables (hash) |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -301,7 +301,7 @@ static void rehash (lua_State *L, Table *t) { | |||
| 301 | 301 | ||
| 302 | Table *luaH_new (lua_State *L, int narray, int lnhash) { | 302 | Table *luaH_new (lua_State *L, int narray, int lnhash) { |
| 303 | Table *t = luaM_new(L, Table); | 303 | Table *t = luaM_new(L, Table); |
| 304 | luaC_link(L, cast(GCObject *, t), LUA_TTABLE); | 304 | luaC_link(L, valtogco(t), LUA_TTABLE); |
| 305 | t->metatable = hvalue(defaultmeta(L)); | 305 | t->metatable = hvalue(defaultmeta(L)); |
| 306 | t->flags = cast(lu_byte, ~0); | 306 | t->flags = cast(lu_byte, ~0); |
| 307 | t->mode = 0; | 307 | t->mode = 0; |
