From 8ca9534d048782af13141874e0d2fec0d0f806af Mon Sep 17 00:00:00 2001
From: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Thu, 8 Jun 2000 15:27:13 -0300
Subject: access to `values' in TObject always through macros

---
 ltests.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'ltests.c')

diff --git a/ltests.c b/ltests.c
index 49b5195d..c7e2ad55 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
 /*
-** $Id: ltests.c,v 1.22 2000/06/02 17:06:42 roberto Exp roberto $
+** $Id: ltests.c,v 1.23 2000/06/02 19:10:01 roberto Exp roberto $
 ** Internal Module for Debugging of the Lua Implementation
 ** See Copyright Notice in lua.h
 */
@@ -161,14 +161,14 @@ static void hash_query (void) {
     lua_pushnumber(tsvalue(o)->u.s.hash);
   }
   else {
-    const Hash *t = avalue(luaL_tablearg(2));
+    const Hash *t = hvalue(luaL_tablearg(2));
     lua_pushnumber(luaH_mainposition(t, o) - t->node);
   }
 }
 
 
 static void table_query (void) {
-  const Hash *t = avalue(luaL_tablearg(1));
+  const Hash *t = hvalue(luaL_tablearg(1));
   int i = luaL_opt_int(2, -1);
   if (i == -1) {
     lua_pushnumber(t->size);
-- 
cgit v1.2.3-55-g6feb