aboutsummaryrefslogtreecommitdiff
path: root/ltable.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltable.c')
-rw-r--r--ltable.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ltable.c b/ltable.c
index 284826ef..c3e4d382 100644
--- a/ltable.c
+++ b/ltable.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltable.c,v 1.77 2001/02/23 17:17:25 roberto Exp roberto $ 2** $Id: ltable.c,v 1.78 2001/03/26 14:31:49 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*/
@@ -118,6 +118,7 @@ Hash *luaH_new (lua_State *L, int size) {
118 G(L)->roottable = t; 118 G(L)->roottable = t;
119 t->mark = t; 119 t->mark = t;
120 t->size = 0; 120 t->size = 0;
121 t->weakmode = 0;
121 t->node = NULL; 122 t->node = NULL;
122 setnodevector(L, t, power2(L, size)); 123 setnodevector(L, t, power2(L, size));
123 return t; 124 return t;