diff options
Diffstat (limited to 'ltable.h')
-rw-r--r-- | ltable.h | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.h,v 2.8 2005/06/06 13:30:25 roberto Exp roberto $ | 2 | ** $Id: ltable.h,v 2.9 2006/01/10 12:51:53 roberto Exp roberto $ |
3 | ** Lua tables (hash) | 3 | ** Lua tables (hash) |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -30,12 +30,11 @@ LUAI_FUNC void luaH_free (lua_State *L, Table *t); | |||
30 | LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key); | 30 | LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key); |
31 | LUAI_FUNC int luaH_getn (Table *t); | 31 | LUAI_FUNC int luaH_getn (Table *t); |
32 | 32 | ||
33 | /* exported only for debugging */ | ||
34 | LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key); | ||
35 | |||
36 | #define luaH_dummynode (&luaH_dummynode_) | ||
37 | 33 | ||
38 | LUAI_DATA const Node luaH_dummynode_; | 34 | #if defined(LUA_DEBUG) |
35 | LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key); | ||
36 | LUAI_FUNC int luaH_isdummy (Node *n); | ||
37 | #endif | ||
39 | 38 | ||
40 | 39 | ||
41 | #endif | 40 | #endif |