aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-04-26 12:39:25 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-04-26 12:39:25 -0300
commitd4e6b750983febf3af0f09235169be9a9e9250d8 (patch)
treeae9852dd4327786f89cb7a499c384a01224397d3 /lua.h
parenta2f5c28a802ae99f2045ab96585fade2c65b2037 (diff)
downloadlua-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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua.h b/lua.h
index eecb810c..a41932e9 100644
--- a/lua.h
+++ b/lua.h
@@ -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);
226LUA_API void (lua_gettable) (lua_State *L, int idx); 226LUA_API void (lua_gettable) (lua_State *L, int idx);
227LUA_API void (lua_getfield) (lua_State *L, int idx, const char *k); 227LUA_API void (lua_getfield) (lua_State *L, int idx, const char *k);
228LUA_API void (lua_rawget) (lua_State *L, int idx); 228LUA_API void (lua_rawget) (lua_State *L, int idx);
229LUA_API void (lua_rawgeti) (lua_State *L, int idx, int n); 229LUA_API void (lua_rawgeti) (lua_State *L, int idx, lua_Integer n);
230LUA_API void (lua_rawgetp) (lua_State *L, int idx, const void *p); 230LUA_API void (lua_rawgetp) (lua_State *L, int idx, const void *p);
231LUA_API void (lua_createtable) (lua_State *L, int narr, int nrec); 231LUA_API void (lua_createtable) (lua_State *L, int narr, int nrec);
232LUA_API void *(lua_newuserdata) (lua_State *L, size_t sz); 232LUA_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);
241LUA_API void (lua_settable) (lua_State *L, int idx); 241LUA_API void (lua_settable) (lua_State *L, int idx);
242LUA_API void (lua_setfield) (lua_State *L, int idx, const char *k); 242LUA_API void (lua_setfield) (lua_State *L, int idx, const char *k);
243LUA_API void (lua_rawset) (lua_State *L, int idx); 243LUA_API void (lua_rawset) (lua_State *L, int idx);
244LUA_API void (lua_rawseti) (lua_State *L, int idx, int n); 244LUA_API void (lua_rawseti) (lua_State *L, int idx, lua_Integer n);
245LUA_API void (lua_rawsetp) (lua_State *L, int idx, const void *p); 245LUA_API void (lua_rawsetp) (lua_State *L, int idx, const void *p);
246LUA_API int (lua_setmetatable) (lua_State *L, int objindex); 246LUA_API int (lua_setmetatable) (lua_State *L, int objindex);
247LUA_API void (lua_setuservalue) (lua_State *L, int idx); 247LUA_API void (lua_setuservalue) (lua_State *L, int idx);