From cb3f95d51696005e69d24b2bbc22f2fc3116b424 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 22 Dec 2009 14:47:00 -0200 Subject: 'lua_cpcall' is deprecated --- luaconf.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index 6efab22a..0768c9f4 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.123 2009/12/17 12:50:20 roberto Exp roberto $ +** $Id: luaconf.h,v 1.124 2009/12/17 13:08:51 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -205,6 +205,14 @@ ** =================================================================== */ +/* +@@ LUA_COMPAT_CPCALL controls the presence of function 'lua_cpcall'. +** CHANGE it (define it) if you need this function. (You can replace +** it with the preregistered function cpcall.) +*/ +/* #define LUA_COMPAT_CPCALL */ +/* LUA_API int (lua_cpcall) (lua_State *L, lua_CFunction func, void *ud); */ + /* @@ LUA_COMPAT_FENV controls the presence of functions 'setfenv/getfenv'. ** CHANGE it (define it) if you need these functions. (You can replace -- cgit v1.2.3-55-g6feb