aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h20
1 files changed, 6 insertions, 14 deletions
diff --git a/luaconf.h b/luaconf.h
index a3a820c1..32a18552 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.149 2010/11/03 15:16:17 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.150 2010/11/10 17:38:10 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*/
@@ -229,7 +229,7 @@
229** You can define it to get all options, or change specific options 229** You can define it to get all options, or change specific options
230** to fit your specific needs. 230** to fit your specific needs.
231*/ 231*/
232#if defined(LUA_COMPAT_ALL) 232#if defined(LUA_COMPAT_ALL) /* { */
233 233
234/* 234/*
235@@ LUA_COMPAT_UNPACK controls the presence of global 'unpack'. 235@@ LUA_COMPAT_UNPACK controls the presence of global 'unpack'.
@@ -238,8 +238,8 @@
238#define LUA_COMPAT_UNPACK 238#define LUA_COMPAT_UNPACK
239 239
240/* 240/*
241@@ LUA_COMPAT_CPCALL controls the presence of macro 'lua_cpcall'. 241@@ macro 'lua_cpcall' emulates deprecated function lua_cpcall.
242** You can call your C function directly (with light C functions) 242** You can call your C function directly (with light C functions).
243*/ 243*/
244#define lua_cpcall(L,f,u) \ 244#define lua_cpcall(L,f,u) \
245 (lua_pushcfunction(L, (f)), \ 245 (lua_pushcfunction(L, (f)), \
@@ -259,14 +259,6 @@
259#define LUA_COMPAT_MAXN 259#define LUA_COMPAT_MAXN
260 260
261/* 261/*
262@@ LUA_COMPAT_DEBUGLIB controls compatibility with preloading
263** the debug library.
264** You should add 'require"debug"' everywhere you need the debug
265** library.
266*/
267#define LUA_COMPAT_DEBUGLIB
268
269/*
270@@ The following macros supply trivial compatibility for some 262@@ The following macros supply trivial compatibility for some
271** changes in the API. The macros themselves document how to 263** changes in the API. The macros themselves document how to
272** change your code to avoid using them. 264** change your code to avoid using them.
@@ -275,7 +267,7 @@
275 267
276#define lua_objlen(L,i) lua_rawlen(L, (i)) 268#define lua_objlen(L,i) lua_rawlen(L, (i))
277 269
278#define lua_equal(L,idx1,idx2) lua_compare(L,(idx1),(idx2),LUA_OPEQ) 270#define lua_equal(L,idx1,idx2) lua_compare(L,(idx1),(idx2),LUA_OPEQ)
279#define lua_lessthan(L,idx1,idx2) lua_compare(L,(idx1),(idx2),LUA_OPLT) 271#define lua_lessthan(L,idx1,idx2) lua_compare(L,(idx1),(idx2),LUA_OPLT)
280 272
281/* 273/*
@@ -284,7 +276,7 @@
284*/ 276*/
285#define LUA_COMPAT_MODULE 277#define LUA_COMPAT_MODULE
286 278
287#endif /* LUA_COMPAT_ALL */ 279#endif /* } */
288 280
289/* }================================================================== */ 281/* }================================================================== */
290 282