diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-04-26 12:39:25 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-04-26 12:39:25 -0300 |
commit | d4e6b750983febf3af0f09235169be9a9e9250d8 (patch) | |
tree | ae9852dd4327786f89cb7a499c384a01224397d3 /lua.h | |
parent | a2f5c28a802ae99f2045ab96585fade2c65b2037 (diff) | |
download | lua-d4e6b750983febf3af0f09235169be9a9e9250d8.tar.gz lua-d4e6b750983febf3af0f09235169be9a9e9250d8.tar.bz2 lua-d4e6b750983febf3af0f09235169be9a9e9250d8.zip |
"integer" keys in tables are now lua_Integer, not 'int'.
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.286 2013/04/25 13:52:49 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.287 2013/04/26 13:07:53 roberto Exp roberto $ |
3 | ** Lua - A Scripting Language | 3 | ** Lua - A Scripting Language |
4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) | 4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) |
5 | ** See Copyright Notice at the end of this file | 5 | ** See Copyright Notice at the end of this file |
@@ -226,7 +226,7 @@ LUA_API void (lua_getglobal) (lua_State *L, const char *var); | |||
226 | LUA_API void (lua_gettable) (lua_State *L, int idx); | 226 | LUA_API void (lua_gettable) (lua_State *L, int idx); |
227 | LUA_API void (lua_getfield) (lua_State *L, int idx, const char *k); | 227 | LUA_API void (lua_getfield) (lua_State *L, int idx, const char *k); |
228 | LUA_API void (lua_rawget) (lua_State *L, int idx); | 228 | LUA_API void (lua_rawget) (lua_State *L, int idx); |
229 | LUA_API void (lua_rawgeti) (lua_State *L, int idx, int n); | 229 | LUA_API void (lua_rawgeti) (lua_State *L, int idx, lua_Integer n); |
230 | LUA_API void (lua_rawgetp) (lua_State *L, int idx, const void *p); | 230 | LUA_API void (lua_rawgetp) (lua_State *L, int idx, const void *p); |
231 | LUA_API void (lua_createtable) (lua_State *L, int narr, int nrec); | 231 | LUA_API void (lua_createtable) (lua_State *L, int narr, int nrec); |
232 | LUA_API void *(lua_newuserdata) (lua_State *L, size_t sz); | 232 | LUA_API void *(lua_newuserdata) (lua_State *L, size_t sz); |
@@ -241,7 +241,7 @@ LUA_API void (lua_setglobal) (lua_State *L, const char *var); | |||
241 | LUA_API void (lua_settable) (lua_State *L, int idx); | 241 | LUA_API void (lua_settable) (lua_State *L, int idx); |
242 | LUA_API void (lua_setfield) (lua_State *L, int idx, const char *k); | 242 | LUA_API void (lua_setfield) (lua_State *L, int idx, const char *k); |
243 | LUA_API void (lua_rawset) (lua_State *L, int idx); | 243 | LUA_API void (lua_rawset) (lua_State *L, int idx); |
244 | LUA_API void (lua_rawseti) (lua_State *L, int idx, int n); | 244 | LUA_API void (lua_rawseti) (lua_State *L, int idx, lua_Integer n); |
245 | LUA_API void (lua_rawsetp) (lua_State *L, int idx, const void *p); | 245 | LUA_API void (lua_rawsetp) (lua_State *L, int idx, const void *p); |
246 | LUA_API int (lua_setmetatable) (lua_State *L, int objindex); | 246 | LUA_API int (lua_setmetatable) (lua_State *L, int objindex); |
247 | LUA_API void (lua_setuservalue) (lua_State *L, int idx); | 247 | LUA_API void (lua_setuservalue) (lua_State *L, int idx); |