diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2006-01-10 11:13:06 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2006-01-10 11:13:06 -0200 |
commit | f8b7a5581e9495d12f61b9dd7f3898782c8e1bec (patch) | |
tree | 1760fc7250c1045b168db582755dc06fa9a47daf /ltests.c | |
parent | ffb798e1e2deb1fe0f931e1f6c5b6d91f694051c (diff) | |
download | lua-f8b7a5581e9495d12f61b9dd7f3898782c8e1bec.tar.gz lua-f8b7a5581e9495d12f61b9dd7f3898782c8e1bec.tar.bz2 lua-f8b7a5581e9495d12f61b9dd7f3898782c8e1bec.zip |
avoid unnecessary exports
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 2.34 2005/12/22 16:19:56 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.35 2006/01/10 12:50:00 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 | */ |
@@ -564,7 +564,7 @@ static int table_query (lua_State *L) { | |||
564 | t = hvalue(obj_at(L, 1)); | 564 | t = hvalue(obj_at(L, 1)); |
565 | if (i == -1) { | 565 | if (i == -1) { |
566 | lua_pushinteger(L, t->sizearray); | 566 | lua_pushinteger(L, t->sizearray); |
567 | lua_pushinteger(L, t->node == luaH_dummynode ? 0 : sizenode(t)); | 567 | lua_pushinteger(L, luaH_isdummy(t->node) ? 0 : sizenode(t)); |
568 | lua_pushinteger(L, t->lastfree - t->node); | 568 | lua_pushinteger(L, t->lastfree - t->node); |
569 | } | 569 | } |
570 | else if (i < t->sizearray) { | 570 | else if (i < t->sizearray) { |