From 8d3dd04137348b604ec9ebee87df84c8ef5fdced Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 21 Jun 2007 10:52:27 -0300 Subject: clearing some old compatibility code --- luaconf.h | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index 8e5479ab..49a0e30a 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.87 2007/02/07 17:46:20 roberto Exp roberto $ +** $Id: luaconf.h,v 1.88 2007/05/03 20:49:29 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -320,20 +320,6 @@ -/* -@@ LUA_COMPAT_GETN controls compatibility with old getn behavior. -** CHANGE it (define it) if you want exact compatibility with the -** behavior of setn/getn in Lua 5.0. -*/ -#undef LUA_COMPAT_GETN - -/* -@@ LUA_COMPAT_LOADLIB controls compatibility about global loadlib. -** CHANGE it to undefined as soon as you do not need a global 'loadlib' -** function (the function is still available as 'package.loadlib'). -*/ -#undef LUA_COMPAT_LOADLIB - /* @@ LUA_COMPAT_VARARG controls compatibility with old vararg feature. ** CHANGE it to undefined as soon as your programs use only '...' to @@ -341,13 +327,6 @@ */ #define LUA_COMPAT_VARARG -/* -@@ LUA_COMPAT_MOD controls compatibility with old math.mod function. -** CHANGE it to undefined as soon as your programs use 'math.fmod' or -** the new '%' operator instead of 'math.mod'. -*/ -#define LUA_COMPAT_MOD - /* @@ LUA_COMPAT_GFIND controls compatibility with old 'string.gfind' name. ** CHANGE it to undefined as soon as you rename 'string.gfind' to @@ -355,13 +334,6 @@ */ #define LUA_COMPAT_GFIND -/* -@@ LUA_COMPAT_OPENLIB controls compatibility with old 'luaL_openlib' -@* behavior. -** CHANGE it to undefined as soon as you replace to 'luaL_register' -** your uses of 'luaL_openlib' -*/ -#define LUA_COMPAT_OPENLIB -- cgit v1.2.3-55-g6feb