access to `values' in TObject always through macros

This commit is contained in:
Roberto Ierusalimschy
2000-06-08 15:27:13 -03:00
parent 8bcf622876
commit 8ca9534d04
11 changed files with 48 additions and 48 deletions

View File

@@ -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));