new interface for weak modes

This commit is contained in:
Roberto Ierusalimschy
2002-01-09 19:50:35 -02:00
parent facfec0687
commit b3bb0f132b
6 changed files with 33 additions and 44 deletions

View File

@@ -274,7 +274,6 @@ Table *luaH_new (lua_State *L, int narray, int lnhash) {
t->next = G(L)->roottable;
G(L)->roottable = t;
t->mark = t;
t->weakmode = 0;
t->flags = cast(unsigned short, ~0);
/* temporary values (kept only if some malloc fails) */
t->array = NULL;