diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2008-07-18 16:58:10 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2008-07-18 16:58:10 -0300 |
| commit | 4db2cddeee6889a3e7ed9a17a31049d45a6fe22f (patch) | |
| tree | fd0f68e0236571a66aebdc8b7c355eba0a5b7ba2 | |
| parent | f9dec5fc84199a782c4ad9c1ec8913574cdfdcd1 (diff) | |
| download | lua-4db2cddeee6889a3e7ed9a17a31049d45a6fe22f.tar.gz lua-4db2cddeee6889a3e7ed9a17a31049d45a6fe22f.tar.bz2 lua-4db2cddeee6889a3e7ed9a17a31049d45a6fe22f.zip | |
LUA_COMPAT -> LUA_COMPAT_API (more specific)
| -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 | /* |
