From 0bb8eb51517ef63c65fb986d711c3163ad0be38f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 4 Dec 2002 15:29:32 -0200 Subject: new function `lua_cpcall' --- lua.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index ea61f0c3..d8fb9047 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.167 2002/11/25 17:50:14 roberto Exp roberto $ +** $Id: lua.h,v 1.168 2002/11/26 12:53:29 roberto Exp roberto $ ** Lua - An Extensible Extension Language ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil ** http://www.lua.org mailto:info@lua.org @@ -186,6 +186,7 @@ LUA_API int lua_setglobals (lua_State *L, int idx); */ LUA_API void lua_call (lua_State *L, int nargs, int nresults); LUA_API int lua_pcall (lua_State *L, int nargs, int nresults, int errfunc); +LUA_API int lua_cpcall (lua_State *L, lua_CFunction func, void *ud); LUA_API int lua_load (lua_State *L, lua_Chunkreader reader, void *dt, const char *chunkname); -- cgit v1.2.3-55-g6feb