diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-03-16 13:58:41 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-03-16 13:58:41 -0300 |
commit | 9ffae705ee8894d68bbc07a1a5f77a112c40efad (patch) | |
tree | e162bb7ecfd1a3e6776cf09e62736ec8eb0fca41 /ltable.h | |
parent | 6bfef60e77f5eec1057470010b4179ee6f830fe6 (diff) | |
download | lua-9ffae705ee8894d68bbc07a1a5f77a112c40efad.tar.gz lua-9ffae705ee8894d68bbc07a1a5f77a112c40efad.tar.bz2 lua-9ffae705ee8894d68bbc07a1a5f77a112c40efad.zip |
new "primitive" getn
Diffstat (limited to 'ltable.h')
-rw-r--r-- | ltable.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.h,v 2.4 2005/01/04 15:55:12 roberto Exp roberto $ | 2 | ** $Id: ltable.h,v 2.5 2005/01/05 18:20:51 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,6 +30,7 @@ Table *luaH_new (lua_State *L, int narray, int lnhash); | |||
30 | void luaH_resizearray (lua_State *L, Table *t, int nasize); | 30 | void luaH_resizearray (lua_State *L, Table *t, int nasize); |
31 | void luaH_free (lua_State *L, Table *t); | 31 | void luaH_free (lua_State *L, Table *t); |
32 | int luaH_next (lua_State *L, Table *t, StkId key); | 32 | int luaH_next (lua_State *L, Table *t, StkId key); |
33 | int luaH_getn (Table *t); | ||
33 | 34 | ||
34 | /* exported only for debugging */ | 35 | /* exported only for debugging */ |
35 | Node *luaH_mainposition (const Table *t, const TValue *key); | 36 | Node *luaH_mainposition (const Table *t, const TValue *key); |