From 2f91f95d94d3a27fee6b45c31ea9ab631924a8bf Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 13 Nov 2002 09:32:26 -0200 Subject: better control over GCObjects --- ltests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index 91186da3..eecc6209 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 1.139 2002/10/25 21:29:20 roberto Exp roberto $ +** $Id: ltests.c,v 1.140 2002/11/07 15:37:10 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -326,7 +326,7 @@ static int string_query (lua_State *L) { GCObject *ts; int n = 0; for (ts = tb->hash[s]; ts; ts = ts->gch.next) { - setsvalue2s(L->top, &ts->ts); + setsvalue2s(L->top, gcotots(ts)); incr_top(L); n++; } -- cgit v1.2.3-55-g6feb