aboutsummaryrefslogtreecommitdiff
path: root/ltable.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-16 13:58:41 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-16 13:58:41 -0300
commit9ffae705ee8894d68bbc07a1a5f77a112c40efad (patch)
treee162bb7ecfd1a3e6776cf09e62736ec8eb0fca41 /ltable.h
parent6bfef60e77f5eec1057470010b4179ee6f830fe6 (diff)
downloadlua-9ffae705ee8894d68bbc07a1a5f77a112c40efad.tar.gz
lua-9ffae705ee8894d68bbc07a1a5f77a112c40efad.tar.bz2
lua-9ffae705ee8894d68bbc07a1a5f77a112c40efad.zip
new "primitive" getn
Diffstat (limited to 'ltable.h')
-rw-r--r--ltable.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ltable.h b/ltable.h
index d8ba8c8a..0036198f 100644
--- a/ltable.h
+++ b/ltable.h
@@ -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);
30void luaH_resizearray (lua_State *L, Table *t, int nasize); 30void luaH_resizearray (lua_State *L, Table *t, int nasize);
31void luaH_free (lua_State *L, Table *t); 31void luaH_free (lua_State *L, Table *t);
32int luaH_next (lua_State *L, Table *t, StkId key); 32int luaH_next (lua_State *L, Table *t, StkId key);
33int luaH_getn (Table *t);
33 34
34/* exported only for debugging */ 35/* exported only for debugging */
35Node *luaH_mainposition (const Table *t, const TValue *key); 36Node *luaH_mainposition (const Table *t, const TValue *key);