diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-05 15:26:00 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-05 15:26:00 -0200 |
commit | b7d5f18d71f691df752e220f844ea613a8f6d722 (patch) | |
tree | 9f9ba3cd43799389c1564be16b7836e09fcf7317 /lua.h | |
parent | 5598b2bc558ba0c755068f21e786d3a6d59eb1ca (diff) | |
download | lua-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); | |||
381 | LUA_API const char *(lua_setupvalue) (lua_State *L, int funcindex, int n); | 381 | LUA_API const char *(lua_setupvalue) (lua_State *L, int funcindex, int n); |
382 | 382 | ||
383 | LUA_API void *(lua_upvaladdr) (lua_State *L, int fidx, int n); | 383 | LUA_API void *(lua_upvaladdr) (lua_State *L, int fidx, int n); |
384 | LUA_API int (lua_upvaljoin) (lua_State *L, int fidx1, int n1, | 384 | LUA_API void (lua_upvaljoin) (lua_State *L, int fidx1, int n1, |
385 | int fidx2, int n2); | 385 | int fidx2, int n2); |
386 | 386 | ||
387 | LUA_API int (lua_sethook) (lua_State *L, lua_Hook func, int mask, int count); | 387 | LUA_API int (lua_sethook) (lua_State *L, lua_Hook func, int mask, int count); |