diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-11-07 13:37:10 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-11-07 13:37:10 -0200 |
commit | dff9be4224a1cd0f338b544b9e01d42f0f4e537f (patch) | |
tree | 1dc8846da882dd37d9f420c10ea545ce92fb3b8a /ltests.c | |
parent | 118347d8c3b83ea0291918e81c5367937316fabb (diff) | |
download | lua-dff9be4224a1cd0f338b544b9e01d42f0f4e537f.tar.gz lua-dff9be4224a1cd0f338b544b9e01d42f0f4e537f.tar.bz2 lua-dff9be4224a1cd0f338b544b9e01d42f0f4e537f.zip |
new macros to distinguish different types of object moves (for future GC
evolution).
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 1.138 2002/10/25 20:05:28 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 1.139 2002/10/25 21:29:20 roberto Exp roberto $ |
3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -326,7 +326,7 @@ static int string_query (lua_State *L) { | |||
326 | GCObject *ts; | 326 | GCObject *ts; |
327 | int n = 0; | 327 | int n = 0; |
328 | for (ts = tb->hash[s]; ts; ts = ts->gch.next) { | 328 | for (ts = tb->hash[s]; ts; ts = ts->gch.next) { |
329 | setsvalue(L->top, &ts->ts); | 329 | setsvalue2s(L->top, &ts->ts); |
330 | incr_top(L); | 330 | incr_top(L); |
331 | n++; | 331 | n++; |
332 | } | 332 | } |