From d4e6b750983febf3af0f09235169be9a9e9250d8 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 26 Apr 2013 12:39:25 -0300 Subject: "integer" keys in tables are now lua_Integer, not 'int'. --- ltable.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ltable.h') diff --git a/ltable.h b/ltable.h index 9088b9e8..a6dc17d9 100644 --- a/ltable.h +++ b/ltable.h @@ -1,5 +1,5 @@ /* -** $Id: ltable.h,v 2.15 2011/08/09 20:58:29 roberto Exp roberto $ +** $Id: ltable.h,v 2.16 2011/08/17 20:26:47 roberto Exp roberto $ ** 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); -- cgit v1.2.3-55-g6feb