aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-11-05 14:48:31 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-11-05 14:48:31 -0200
commit5598b2bc558ba0c755068f21e786d3a6d59eb1ca (patch)
tree497a5239cfeda247eab7bf9c1140184570856089 /lua.h
parent77077b39d59aa50bd64c7b7c5e660c6e187d11f2 (diff)
downloadlua-5598b2bc558ba0c755068f21e786d3a6d59eb1ca.tar.gz
lua-5598b2bc558ba0c755068f21e786d3a6d59eb1ca.tar.bz2
lua-5598b2bc558ba0c755068f21e786d3a6d59eb1ca.zip
new functions to identify and join upvalues
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lua.h b/lua.h
index 7492f4a5..2357bdaa 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.245 2009/10/05 16:44:33 roberto Exp roberto $ 2** $Id: lua.h,v 1.246 2009/10/11 20:02:19 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
@@ -380,6 +380,10 @@ LUA_API const char *(lua_setlocal) (lua_State *L, const lua_Debug *ar, int n);
380LUA_API const char *(lua_getupvalue) (lua_State *L, int funcindex, int n); 380LUA_API const char *(lua_getupvalue) (lua_State *L, int funcindex, int n);
381LUA_API const char *(lua_setupvalue) (lua_State *L, int funcindex, int n); 381LUA_API const char *(lua_setupvalue) (lua_State *L, int funcindex, int n);
382 382
383LUA_API void *(lua_upvaladdr) (lua_State *L, int fidx, int n);
384LUA_API int (lua_upvaljoin) (lua_State *L, int fidx1, int n1,
385 int fidx2, int n2);
386
383LUA_API int (lua_sethook) (lua_State *L, lua_Hook func, int mask, int count); 387LUA_API int (lua_sethook) (lua_State *L, lua_Hook func, int mask, int count);
384LUA_API lua_Hook (lua_gethook) (lua_State *L); 388LUA_API lua_Hook (lua_gethook) (lua_State *L);
385LUA_API int (lua_gethookmask) (lua_State *L); 389LUA_API int (lua_gethookmask) (lua_State *L);