diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-12-19 09:11:55 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-12-19 09:11:55 -0200 |
commit | dd8edecae19251a3b89502416a2e7f8e75b2bd20 (patch) | |
tree | 10c94c2a2f89f534ca9a5b9b2591008bda8eae17 /lua.h | |
parent | 28021c5c663702a1b1890f0e5d280c36be8a6c16 (diff) | |
download | lua-dd8edecae19251a3b89502416a2e7f8e75b2bd20.tar.gz lua-dd8edecae19251a3b89502416a2e7f8e75b2bd20.tar.bz2 lua-dd8edecae19251a3b89502416a2e7f8e75b2bd20.zip |
new functions to manipulate upvales (get/setupvalue)
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.168 2002/11/26 12:53:29 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.169 2002/12/04 17:28:27 roberto Exp roberto $ |
3 | ** Lua - An Extensible Extension Language | 3 | ** Lua - An Extensible Extension Language |
4 | ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil | 4 | ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil |
5 | ** http://www.lua.org mailto:info@lua.org | 5 | ** http://www.lua.org mailto:info@lua.org |
@@ -336,6 +336,8 @@ LUA_API int lua_getstack (lua_State *L, int level, lua_Debug *ar); | |||
336 | LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar); | 336 | LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar); |
337 | LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int n); | 337 | LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int n); |
338 | LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n); | 338 | LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n); |
339 | LUA_API const char *lua_getupvalue (lua_State *L, int funcindex, int n); | ||
340 | LUA_API const char *lua_setupvalue (lua_State *L, int funcindex, int n); | ||
339 | 341 | ||
340 | LUA_API int lua_sethook (lua_State *L, lua_Hook func, int mask, int count); | 342 | LUA_API int lua_sethook (lua_State *L, lua_Hook func, int mask, int count); |
341 | LUA_API lua_Hook lua_gethook (lua_State *L); | 343 | LUA_API lua_Hook lua_gethook (lua_State *L); |