From 5c5d9b27031f0a7fcf61df86cd242105c38485d6 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 14 Nov 2002 10:01:35 -0200 Subject: back to `__mode' metafield to specify weakness --- ltable.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ltable.c') diff --git a/ltable.c b/ltable.c index f58d6dfb..04b3db35 100644 --- a/ltable.c +++ b/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 1.120 2002/11/07 15:37:10 roberto Exp roberto $ +** $Id: ltable.c,v 1.121 2002/11/13 11:31:39 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -304,7 +304,6 @@ Table *luaH_new (lua_State *L, int narray, int lnhash) { luaC_link(L, valtogco(t), LUA_TTABLE); t->metatable = hvalue(defaultmeta(L)); t->flags = cast(lu_byte, ~0); - t->mode = 0; /* temporary values (kept only if some malloc fails) */ t->array = NULL; t->sizearray = 0; -- cgit v1.2.3-55-g6feb