TM_GETTABLE/TM_SETTABLE don't need fast access anymore

This commit is contained in:
Roberto Ierusalimschy
2002-06-24 17:18:38 -03:00
parent 1a4c428d6d
commit fdfd5b44ee
4 changed files with 10 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ltable.c,v 1.109 2002/05/27 20:35:40 roberto Exp roberto $
** $Id: ltable.c,v 1.110 2002/06/13 13:39:55 roberto Exp roberto $
** Lua tables (hash)
** See Copyright Notice in lua.h
*/
@@ -302,7 +302,7 @@ Table *luaH_new (lua_State *L, int narray, int lnhash) {
t->next = G(L)->roottable;
G(L)->roottable = t;
t->mark = t;
t->flags = cast(unsigned short, ~0);
t->flags = cast(lu_byte, ~0);
/* temporary values (kept only if some malloc fails) */
t->array = NULL;
t->sizearray = 0;