aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-01-29 15:17:26 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-01-29 15:17:26 -0200
commit6b71a9cfe53040aa605f5d75c58a2124d03f8912 (patch)
treeadbd5eb607941b3fbf2eb36359b15841de4159ae /ldebug.c
parentfa8c44b510c6b56a290c14bd5dba4c7caec53284 (diff)
downloadlua-6b71a9cfe53040aa605f5d75c58a2124d03f8912.tar.gz
lua-6b71a9cfe53040aa605f5d75c58a2124d03f8912.tar.bz2
lua-6b71a9cfe53040aa605f5d75c58a2124d03f8912.zip
smaller tables for machines with 8-bit alignment
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldebug.c b/ldebug.c
index 1a4c7f96..a914edfd 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.56 2001/01/25 16:45:36 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.57 2001/01/26 11:45:51 roberto Exp roberto $
3** Debug Interface 3** Debug Interface
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -248,8 +248,8 @@ static const char *travglobals (lua_State *L, const TObject *o) {
248 int i; 248 int i;
249 for (i=0; i<g->size; i++) { 249 for (i=0; i<g->size; i++) {
250 if (luaO_equalObj(o, val(node(g, i))) && 250 if (luaO_equalObj(o, val(node(g, i))) &&
251 ttype(key(node(g, i))) == LUA_TSTRING) 251 ttype_key(node(g, i)) == LUA_TSTRING)
252 return tsvalue(key(node(g, i)))->str; 252 return tsvalue_key(node(g, i))->str;
253 } 253 }
254 return NULL; 254 return NULL;
255} 255}