diff options
Diffstat (limited to 'src/ltable.h')
-rw-r--r-- | src/ltable.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ltable.h b/src/ltable.h index 2f6f5c2d..5a65b52e 100644 --- a/src/ltable.h +++ b/src/ltable.h @@ -1,5 +1,5 @@ /* -** $Id: ltable.h,v 2.16 2011/08/17 20:26:47 roberto Exp $ +** $Id: ltable.h,v 2.17 2013/04/26 15:39:25 roberto Exp $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -18,8 +18,9 @@ #define invalidateTMcache(t) ((t)->flags = 0) -LUAI_FUNC const TValue *luaH_getint (Table *t, int key); -LUAI_FUNC void luaH_setint (lua_State *L, Table *t, int key, TValue *value); +LUAI_FUNC const TValue *luaH_getint (Table *t, lua_Integer key); +LUAI_FUNC void luaH_setint (lua_State *L, Table *t, lua_Integer key, + TValue *value); LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); LUAI_FUNC TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key); |