From 93695db90382fc00b054e1db177985d6a8fa1609 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 26 Nov 2009 15:35:13 -0200 Subject: 'table.maxn' deprecated --- luaconf.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index c68ce3da..a9e0fe11 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.117 2009/11/26 11:39:20 roberto Exp roberto $ +** $Id: luaconf.h,v 1.118 2009/11/26 16:49:28 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -336,9 +336,8 @@ /* @@ LUA_COMPAT_FENV controls the presence of functions 'setfenv/getfenv'. -** CHANGE it (undefine it) if as soon as you rewrite your code to -** avoid using those functions. (You can replace them with lexical -** environments, 'loadin', or the debug library.) +** CHANGE it (define it) if you need these functions. (You can replace +** them with lexical environments, 'loadin', or the debug library.) */ /* #define LUA_COMPAT_FENV */ @@ -349,6 +348,12 @@ */ #define LUA_COMPAT_LOG10 +/* +@@ LUA_COMPAT_MAXN defines the function 'maxn' in the table library. +** CHANGE it (define it) if you need that function. +*/ +/* #define LUA_COMPAT_MAXN */ + /* @@ LUA_COMPAT_API includes some macros and functions that supply some @* compatibility with previous versions. -- cgit v1.2.3-55-g6feb