From 4e9f2d13d5b6fa71ca480394e0b7e75463d4aeec Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 14 Oct 1999 17:13:31 -0200 Subject: new implementation of hash tables. --- lapi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lapi.c') diff --git a/lapi.c b/lapi.c index 5c0646ec..80e4d120 100644 --- a/lapi.c +++ b/lapi.c @@ -1,5 +1,5 @@ /* -** $Id: lapi.c,v 1.52 1999/10/07 19:04:30 roberto Exp roberto $ +** $Id: lapi.c,v 1.53 1999/10/11 16:13:11 roberto Exp roberto $ ** Lua API ** See Copyright Notice in lua.h */ @@ -422,11 +422,11 @@ const char *lua_nextvar (const char *varname) { int luaA_next (const Hash *t, int i) { - int tsize = nhash(t); + int tsize = t->size; for (; i