From 7f1a2ad69976cc6891c104d2b669771820b8959a Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 21 Aug 2014 17:07:56 -0300 Subject: new functions 'lua_geti/lua_seti' (non raw) --- lua.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index 8ac6991e..a092f829 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.312 2014/07/31 13:44:30 roberto Exp roberto $ +** $Id: lua.h,v 1.313 2014/08/01 17:33:08 roberto Exp roberto $ ** Lua - A Scripting Language ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) ** See Copyright Notice at the end of this file @@ -239,6 +239,7 @@ LUA_API int (lua_pushthread) (lua_State *L); LUA_API int (lua_getglobal) (lua_State *L, const char *var); LUA_API int (lua_gettable) (lua_State *L, int idx); LUA_API int (lua_getfield) (lua_State *L, int idx, const char *k); +LUA_API int (lua_geti) (lua_State *L, int idx, lua_Integer n); LUA_API int (lua_rawget) (lua_State *L, int idx); LUA_API int (lua_rawgeti) (lua_State *L, int idx, lua_Integer n); LUA_API int (lua_rawgetp) (lua_State *L, int idx, const void *p); @@ -255,6 +256,7 @@ LUA_API int (lua_getuservalue) (lua_State *L, int idx); LUA_API void (lua_setglobal) (lua_State *L, const char *var); LUA_API void (lua_settable) (lua_State *L, int idx); LUA_API void (lua_setfield) (lua_State *L, int idx, const char *k); +LUA_API void (lua_seti) (lua_State *L, int idx, lua_Integer n); LUA_API void (lua_rawset) (lua_State *L, int idx); LUA_API void (lua_rawseti) (lua_State *L, int idx, lua_Integer n); LUA_API void (lua_rawsetp) (lua_State *L, int idx, const void *p); -- cgit v1.2.3-55-g6feb