diff options
-rw-r--r-- | ltests.h | 4 | ||||
-rw-r--r-- | lua.h | 4 | ||||
-rw-r--r-- | luaconf.h | 6 |
3 files changed, 7 insertions, 7 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.h,v 2.21 2008/06/23 16:50:34 roberto Exp roberto $ | 2 | ** $Id: ltests.h,v 2.22 2008/07/11 17:51:01 roberto Exp roberto $ |
3 | ** Internal Header for Debugging of the Lua Implementation | 3 | ** Internal Header for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -11,7 +11,7 @@ | |||
11 | #include <stdlib.h> | 11 | #include <stdlib.h> |
12 | 12 | ||
13 | /* do not use compatibility macros in Lua code */ | 13 | /* do not use compatibility macros in Lua code */ |
14 | #undef LUA_COMPAT | 14 | #undef LUA_COMPAT_API |
15 | 15 | ||
16 | #define LUA_DEBUG | 16 | #define LUA_DEBUG |
17 | 17 | ||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.228 2008/05/09 16:51:44 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.229 2008/07/11 17:50:31 roberto Exp roberto $ |
3 | ** Lua - An Extensible Extension Language | 3 | ** Lua - An Extensible Extension Language |
4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) | 4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) |
5 | ** See Copyright Notice at the end of this file | 5 | ** 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); | |||
282 | /* | 282 | /* |
283 | ** compatibility macros and functions | 283 | ** compatibility macros and functions |
284 | */ | 284 | */ |
285 | #if defined(LUA_COMPAT) | 285 | #if defined(LUA_COMPAT_API) |
286 | 286 | ||
287 | #define lua_strlen(L,i) lua_objlen(L, (i)) | 287 | #define lua_strlen(L,i) lua_objlen(L, (i)) |
288 | 288 | ||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.98 2008/06/25 15:27:12 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.99 2008/07/11 17:50:31 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 | */ |
@@ -324,11 +324,11 @@ | |||
324 | 324 | ||
325 | 325 | ||
326 | /* | 326 | /* |
327 | @@ LUA_COMPAT includes some macros and functions that supply some | 327 | @@ LUA_COMPAT_API includes some macros and functions that supply some |
328 | @* compatibility with previous versions. | 328 | @* compatibility with previous versions. |
329 | ** CHANGE it (undefine it) if you do not need these compatibility facilities. | 329 | ** CHANGE it (undefine it) if you do not need these compatibility facilities. |
330 | */ | 330 | */ |
331 | #define LUA_COMPAT | 331 | #define LUA_COMPAT_API |
332 | 332 | ||
333 | 333 | ||
334 | /* | 334 | /* |