api functions to manipulate upvalues do not need to check their
arguments (the caller must check them before calling)
This commit is contained in:
4
lua.h
4
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);
|
||||
|
||||
Reference in New Issue
Block a user