summaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-11-05 15:26:00 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-11-05 15:26:00 -0200
commitb7d5f18d71f691df752e220f844ea613a8f6d722 (patch)
tree9f9ba3cd43799389c1564be16b7836e09fcf7317 /lua.h
parent5598b2bc558ba0c755068f21e786d3a6d59eb1ca (diff)
downloadlua-b7d5f18d71f691df752e220f844ea613a8f6d722.tar.gz
lua-b7d5f18d71f691df752e220f844ea613a8f6d722.tar.bz2
lua-b7d5f18d71f691df752e220f844ea613a8f6d722.zip
api functions to manipulate upvalues do not need to check their
arguments (the caller must check them before calling)
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.h b/lua.h
index 2357bdaa..57127bca 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.246 2009/10/11 20:02:19 roberto Exp roberto $ 2** $Id: lua.h,v 1.247 2009/11/05 16:48:31 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
@@ -381,7 +381,7 @@ LUA_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); 383LUA_API void *(lua_upvaladdr) (lua_State *L, int fidx, int n);
384LUA_API int (lua_upvaljoin) (lua_State *L, int fidx1, int n1, 384LUA_API void (lua_upvaljoin) (lua_State *L, int fidx1, int n1,
385 int fidx2, int n2); 385 int fidx2, int n2);
386 386
387LUA_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);