From dff9be4224a1cd0f338b544b9e01d42f0f4e537f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 7 Nov 2002 13:37:10 -0200 Subject: new macros to distinguish different types of object moves (for future GC evolution). --- ltests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index 93a2b8e0..91186da3 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 1.138 2002/10/25 20:05:28 roberto Exp roberto $ +** $Id: ltests.c,v 1.139 2002/10/25 21:29:20 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) { - setsvalue(L->top, &ts->ts); + setsvalue2s(L->top, &ts->ts); incr_top(L); n++; } -- cgit v1.2.3-55-g6feb