diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-02-14 19:46:13 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-02-14 19:46:13 -0200 |
commit | 57fb51f975c39a063896bccbf4b2e3169f309941 (patch) | |
tree | f641bb2984a03f48cdb67b2815a03ebfc393d8db /ltable.h | |
parent | 1c423d266180a37fa00d433ec769b1420d591ba7 (diff) | |
download | lua-57fb51f975c39a063896bccbf4b2e3169f309941.tar.gz lua-57fb51f975c39a063896bccbf4b2e3169f309941.tar.bz2 lua-57fb51f975c39a063896bccbf4b2e3169f309941.zip |
`luaH_next' works like `next'
Diffstat (limited to 'ltable.h')
-rw-r--r-- | ltable.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -24,8 +24,7 @@ const TObject *luaH_get (Table *t, const TObject *key); | |||
24 | void luaH_set (lua_State *L, Table *t, const TObject *key, const TObject *val); | 24 | void luaH_set (lua_State *L, Table *t, const TObject *key, const TObject *val); |
25 | Table *luaH_new (lua_State *L, int narray, int lnhash); | 25 | Table *luaH_new (lua_State *L, int narray, int lnhash); |
26 | void luaH_free (lua_State *L, Table *t); | 26 | void luaH_free (lua_State *L, Table *t); |
27 | int luaH_index (lua_State *L, Table *t, const TObject *key); | 27 | int luaH_next (lua_State *L, Table *t, TObject *key); |
28 | int luaH_nexti (Table *t, int i, TObject *where); | ||
29 | 28 | ||
30 | /* exported only for debugging */ | 29 | /* exported only for debugging */ |
31 | Node *luaH_mainposition (const Table *t, const TObject *key); | 30 | Node *luaH_mainposition (const Table *t, const TObject *key); |