summaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-12-22 14:47:00 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-12-22 14:47:00 -0200
commitcb3f95d51696005e69d24b2bbc22f2fc3116b424 (patch)
tree27440471aa248ee487fa6d850cf57ea82d8721af /luaconf.h
parentf84b575cfa52dc832751846aa0b4c8ff437d3ca3 (diff)
downloadlua-cb3f95d51696005e69d24b2bbc22f2fc3116b424.tar.gz
lua-cb3f95d51696005e69d24b2bbc22f2fc3116b424.tar.bz2
lua-cb3f95d51696005e69d24b2bbc22f2fc3116b424.zip
'lua_cpcall' is deprecated
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/luaconf.h b/luaconf.h
index 6efab22a..0768c9f4 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.123 2009/12/17 12:50:20 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.124 2009/12/17 13:08:51 roberto Exp roberto $
3** Configuration file for Lua 3** Configuration file for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -206,6 +206,14 @@
206*/ 206*/
207 207
208/* 208/*
209@@ LUA_COMPAT_CPCALL controls the presence of function 'lua_cpcall'.
210** CHANGE it (define it) if you need this function. (You can replace
211** it with the preregistered function cpcall.)
212*/
213/* #define LUA_COMPAT_CPCALL */
214/* LUA_API int (lua_cpcall) (lua_State *L, lua_CFunction func, void *ud); */
215
216/*
209@@ LUA_COMPAT_FENV controls the presence of functions 'setfenv/getfenv'. 217@@ LUA_COMPAT_FENV controls the presence of functions 'setfenv/getfenv'.
210** CHANGE it (define it) if you need these functions. (You can replace 218** CHANGE it (define it) if you need these functions. (You can replace
211** them with lexical environments, 'loadin', or the debug library.) 219** them with lexical environments, 'loadin', or the debug library.)