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'. --- lapi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lapi.c') diff --git a/lapi.c b/lapi.c index f0e219b4..71a9124a 100644 --- a/lapi.c +++ b/lapi.c @@ -1,5 +1,5 @@ /* -** $Id: lapi.c,v 2.173 2013/04/15 15:43:34 roberto Exp roberto $ +** $Id: lapi.c,v 2.174 2013/04/25 13:52:49 roberto Exp roberto $ ** Lua API ** See Copyright Notice in lua.h */ @@ -656,7 +656,7 @@ LUA_API void lua_rawget (lua_State *L, int idx) { } -LUA_API void lua_rawgeti (lua_State *L, int idx, int n) { +LUA_API void lua_rawgeti (lua_State *L, int idx, lua_Integer n) { StkId t; lua_lock(L); t = index2addr(L, idx); @@ -791,7 +791,7 @@ LUA_API void lua_rawset (lua_State *L, int idx) { } -LUA_API void lua_rawseti (lua_State *L, int idx, int n) { +LUA_API void lua_rawseti (lua_State *L, int idx, lua_Integer n) { StkId t; lua_lock(L); api_checknelems(L, 1); -- cgit v1.2.3-55-g6feb