diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-08-21 17:07:56 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-08-21 17:07:56 -0300 |
| commit | 7f1a2ad69976cc6891c104d2b669771820b8959a (patch) | |
| tree | e9c21db809a04e80a8db95eea379981f32d74131 /lua.h | |
| parent | a1ab5ab396df521eff70f304e571c16b809037d1 (diff) | |
| download | lua-7f1a2ad69976cc6891c104d2b669771820b8959a.tar.gz lua-7f1a2ad69976cc6891c104d2b669771820b8959a.tar.bz2 lua-7f1a2ad69976cc6891c104d2b669771820b8959a.zip | |
new functions 'lua_geti/lua_seti' (non raw)
Diffstat (limited to 'lua.h')
| -rw-r--r-- | lua.h | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.h,v 1.312 2014/07/31 13:44:30 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.313 2014/08/01 17:33:08 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 |
| @@ -239,6 +239,7 @@ LUA_API int (lua_pushthread) (lua_State *L); | |||
| 239 | LUA_API int (lua_getglobal) (lua_State *L, const char *var); | 239 | LUA_API int (lua_getglobal) (lua_State *L, const char *var); |
| 240 | LUA_API int (lua_gettable) (lua_State *L, int idx); | 240 | LUA_API int (lua_gettable) (lua_State *L, int idx); |
| 241 | LUA_API int (lua_getfield) (lua_State *L, int idx, const char *k); | 241 | LUA_API int (lua_getfield) (lua_State *L, int idx, const char *k); |
| 242 | LUA_API int (lua_geti) (lua_State *L, int idx, lua_Integer n); | ||
| 242 | LUA_API int (lua_rawget) (lua_State *L, int idx); | 243 | LUA_API int (lua_rawget) (lua_State *L, int idx); |
| 243 | LUA_API int (lua_rawgeti) (lua_State *L, int idx, lua_Integer n); | 244 | LUA_API int (lua_rawgeti) (lua_State *L, int idx, lua_Integer n); |
| 244 | LUA_API int (lua_rawgetp) (lua_State *L, int idx, const void *p); | 245 | 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); | |||
| 255 | LUA_API void (lua_setglobal) (lua_State *L, const char *var); | 256 | LUA_API void (lua_setglobal) (lua_State *L, const char *var); |
| 256 | LUA_API void (lua_settable) (lua_State *L, int idx); | 257 | LUA_API void (lua_settable) (lua_State *L, int idx); |
| 257 | LUA_API void (lua_setfield) (lua_State *L, int idx, const char *k); | 258 | LUA_API void (lua_setfield) (lua_State *L, int idx, const char *k); |
| 259 | LUA_API void (lua_seti) (lua_State *L, int idx, lua_Integer n); | ||
| 258 | LUA_API void (lua_rawset) (lua_State *L, int idx); | 260 | LUA_API void (lua_rawset) (lua_State *L, int idx); |
| 259 | LUA_API void (lua_rawseti) (lua_State *L, int idx, lua_Integer n); | 261 | LUA_API void (lua_rawseti) (lua_State *L, int idx, lua_Integer n); |
| 260 | LUA_API void (lua_rawsetp) (lua_State *L, int idx, const void *p); | 262 | LUA_API void (lua_rawsetp) (lua_State *L, int idx, const void *p); |
