From b7d5f18d71f691df752e220f844ea613a8f6d722 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 5 Nov 2009 15:26:00 -0200 Subject: api functions to manipulate upvalues do not need to check their arguments (the caller must check them before calling) --- lua.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index 2357bdaa..57127bca 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.246 2009/10/11 20:02:19 roberto Exp roberto $ +** $Id: lua.h,v 1.247 2009/11/05 16:48:31 roberto Exp roberto $ ** Lua - A Scripting Language ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) ** 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); LUA_API const char *(lua_setupvalue) (lua_State *L, int funcindex, int n); LUA_API void *(lua_upvaladdr) (lua_State *L, int fidx, int n); -LUA_API int (lua_upvaljoin) (lua_State *L, int fidx1, int n1, +LUA_API void (lua_upvaljoin) (lua_State *L, int fidx1, int n1, int fidx2, int n2); LUA_API int (lua_sethook) (lua_State *L, lua_Hook func, int mask, int count); -- cgit v1.2.3-55-g6feb