summaryrefslogtreecommitdiff
path: root/ltable.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-11-14 10:01:35 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-11-14 10:01:35 -0200
commit5c5d9b27031f0a7fcf61df86cd242105c38485d6 (patch)
tree534fb1ea4a4fc82253d5bc8b0af92b91a7ae9714 /ltable.c
parent43d1a6af12fb9cf20e55cc6ba8a1b0231d6b7a3c (diff)
downloadlua-5c5d9b27031f0a7fcf61df86cd242105c38485d6.tar.gz
lua-5c5d9b27031f0a7fcf61df86cd242105c38485d6.tar.bz2
lua-5c5d9b27031f0a7fcf61df86cd242105c38485d6.zip
back to `__mode' metafield to specify weakness
Diffstat (limited to 'ltable.c')
-rw-r--r--ltable.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ltable.c b/ltable.c
index f58d6dfb..04b3db35 100644
--- a/ltable.c
+++ b/ltable.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltable.c,v 1.120 2002/11/07 15:37:10 roberto Exp roberto $ 2** $Id: ltable.c,v 1.121 2002/11/13 11:31:39 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*/
@@ -304,7 +304,6 @@ Table *luaH_new (lua_State *L, int narray, int lnhash) {
304 luaC_link(L, valtogco(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;
308 /* temporary values (kept only if some malloc fails) */ 307 /* temporary values (kept only if some malloc fails) */
309 t->array = NULL; 308 t->array = NULL;
310 t->sizearray = 0; 309 t->sizearray = 0;