aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2006-01-10 11:13:06 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2006-01-10 11:13:06 -0200
commitf8b7a5581e9495d12f61b9dd7f3898782c8e1bec (patch)
tree1760fc7250c1045b168db582755dc06fa9a47daf /ltests.c
parentffb798e1e2deb1fe0f931e1f6c5b6d91f694051c (diff)
downloadlua-f8b7a5581e9495d12f61b9dd7f3898782c8e1bec.tar.gz
lua-f8b7a5581e9495d12f61b9dd7f3898782c8e1bec.tar.bz2
lua-f8b7a5581e9495d12f61b9dd7f3898782c8e1bec.zip
avoid unnecessary exports
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltests.c b/ltests.c
index 739a011a..3c077a1c 100644
--- a/ltests.c
+++ b/ltests.c
@@ -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) {