From 8ca9534d048782af13141874e0d2fec0d0f806af Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 8 Jun 2000 15:27:13 -0300 Subject: access to `values' in TObject always through macros --- ltable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltable.c') diff --git a/ltable.c b/ltable.c index 50307ada..2e88a894 100644 --- a/ltable.c +++ b/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 1.45 2000/06/05 20:15:33 roberto Exp roberto $ +** $Id: ltable.c,v 1.46 2000/06/06 16:31:41 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -54,7 +54,7 @@ Node *luaH_mainposition (const Hash *t, const TObject *key) { h = IntPoint(tsvalue(key)); break; case TAG_TABLE: - h = IntPoint(avalue(key)); + h = IntPoint(hvalue(key)); break; case TAG_LCLOSURE: case TAG_CCLOSURE: h = IntPoint(clvalue(key)); -- cgit v1.2.3-55-g6feb