diff options
Diffstat (limited to 'ltable.h')
-rw-r--r-- | ltable.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.h,v 1.44 2003/03/18 12:50:04 roberto Exp roberto $ | 2 | ** $Id: ltable.h,v 1.45 2003/08/26 12:04:13 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 | */ |
@@ -15,18 +15,18 @@ | |||
15 | #define gval(n) (&(n)->i_val) | 15 | #define gval(n) (&(n)->i_val) |
16 | 16 | ||
17 | 17 | ||
18 | const TObject *luaH_getnum (Table *t, int key); | 18 | const TValue *luaH_getnum (Table *t, int key); |
19 | TObject *luaH_setnum (lua_State *L, Table *t, int key); | 19 | TValue *luaH_setnum (lua_State *L, Table *t, int key); |
20 | const TObject *luaH_getstr (Table *t, TString *key); | 20 | const TValue *luaH_getstr (Table *t, TString *key); |
21 | TObject *luaH_setstr (lua_State *L, Table *t, TString *key); | 21 | TValue *luaH_setstr (lua_State *L, Table *t, TString *key); |
22 | const TObject *luaH_get (Table *t, const TObject *key); | 22 | const TValue *luaH_get (Table *t, const TValue *key); |
23 | TObject *luaH_set (lua_State *L, Table *t, const TObject *key); | 23 | TValue *luaH_set (lua_State *L, Table *t, const TValue *key); |
24 | Table *luaH_new (lua_State *L, int narray, int lnhash); | 24 | Table *luaH_new (lua_State *L, int narray, int lnhash); |
25 | void luaH_free (lua_State *L, Table *t); | 25 | void luaH_free (lua_State *L, Table *t); |
26 | int luaH_next (lua_State *L, Table *t, StkId key); | 26 | int luaH_next (lua_State *L, Table *t, StkId key); |
27 | 27 | ||
28 | /* exported only for debugging */ | 28 | /* exported only for debugging */ |
29 | Node *luaH_mainposition (const Table *t, const TObject *key); | 29 | Node *luaH_mainposition (const Table *t, const TValue *key); |
30 | 30 | ||
31 | 31 | ||
32 | #endif | 32 | #endif |