From 4db2cddeee6889a3e7ed9a17a31049d45a6fe22f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 18 Jul 2008 16:58:10 -0300 Subject: [PATCH] LUA_COMPAT -> LUA_COMPAT_API (more specific) --- ltests.h | 4 ++-- lua.h | 4 ++-- luaconf.h | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ltests.h b/ltests.h index 8a6f2ba9..eeccae6c 100644 --- a/ltests.h +++ b/ltests.h @@ -1,5 +1,5 @@ /* -** $Id: ltests.h,v 2.21 2008/06/23 16:50:34 roberto Exp roberto $ +** $Id: ltests.h,v 2.22 2008/07/11 17:51:01 roberto Exp roberto $ ** Internal Header for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -11,7 +11,7 @@ #include /* do not use compatibility macros in Lua code */ -#undef LUA_COMPAT +#undef LUA_COMPAT_API #define LUA_DEBUG diff --git a/lua.h b/lua.h index 4a84cffc..1603b005 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.228 2008/05/09 16:51:44 roberto Exp roberto $ +** $Id: lua.h,v 1.229 2008/07/11 17:50:31 roberto Exp roberto $ ** Lua - An Extensible Extension Language ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) ** See Copyright Notice at the end of this file @@ -282,7 +282,7 @@ LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud); /* ** compatibility macros and functions */ -#if defined(LUA_COMPAT) +#if defined(LUA_COMPAT_API) #define lua_strlen(L,i) lua_objlen(L, (i)) diff --git a/luaconf.h b/luaconf.h index b41ef027..24d8da52 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.98 2008/06/25 15:27:12 roberto Exp roberto $ +** $Id: luaconf.h,v 1.99 2008/07/11 17:50:31 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -324,11 +324,11 @@ /* -@@ LUA_COMPAT includes some macros and functions that supply some +@@ LUA_COMPAT_API includes some macros and functions that supply some @* compatibility with previous versions. ** CHANGE it (undefine it) if you do not need these compatibility facilities. */ -#define LUA_COMPAT +#define LUA_COMPAT_API /*