summaryrefslogtreecommitdiff
path: root/ltable.h
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 /ltable.h
parentffb798e1e2deb1fe0f931e1f6c5b6d91f694051c (diff)
downloadlua-github-f8b7a5581e9495d12f61b9dd7f3898782c8e1bec.tar.gz
avoid unnecessary exports
Diffstat (limited to 'ltable.h')
-rw-r--r--ltable.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/ltable.h b/ltable.h
index 836842da..e87597fd 100644
--- a/ltable.h
+++ b/ltable.h
@@ -1,5 +1,5 @@
/*
-** $Id: ltable.h,v 2.8 2005/06/06 13:30:25 roberto Exp roberto $
+** $Id: ltable.h,v 2.9 2006/01/10 12:51:53 roberto Exp roberto $
** Lua tables (hash)
** See Copyright Notice in lua.h
*/
@@ -30,12 +30,11 @@ LUAI_FUNC void luaH_free (lua_State *L, Table *t);
LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key);
LUAI_FUNC int luaH_getn (Table *t);
-/* exported only for debugging */
-LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key);
-
-#define luaH_dummynode (&luaH_dummynode_)
-LUAI_DATA const Node luaH_dummynode_;
+#if defined(LUA_DEBUG)
+LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key);
+LUAI_FUNC int luaH_isdummy (Node *n);
+#endif
#endif