diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-08-15 11:12:32 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-08-15 11:12:32 -0300 |
commit | 5e8a9e324ccdba03b326f8a8fafa0446042975a5 (patch) | |
tree | 0f752977249376dffd9a65690c1663be81166825 /luaconf.h | |
parent | 16ddf86168998d500283e160977ef5ecea72c915 (diff) | |
download | lua-5e8a9e324ccdba03b326f8a8fafa0446042975a5.tar.gz lua-5e8a9e324ccdba03b326f8a8fafa0446042975a5.tar.bz2 lua-5e8a9e324ccdba03b326f8a8fafa0446042975a5.zip |
luaL_openlib -> luaL_register, luaL_putchar -> luaL_addchar
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.57 2005/08/04 13:37:10 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.58 2005/08/09 17:57:29 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 | */ |
@@ -330,6 +330,15 @@ | |||
330 | #define LUA_COMPAT_GFIND | 330 | #define LUA_COMPAT_GFIND |
331 | 331 | ||
332 | 332 | ||
333 | /* | ||
334 | @@ LUA_COMPAT_OPENLIB controls compatibility with old 'luaL_openlib' | ||
335 | @* behavior. | ||
336 | ** CHANGE it to undefined as soon as you replace to 'luaL_registry' | ||
337 | ** your uses of 'luaL_openlib' | ||
338 | */ | ||
339 | #define LUA_COMPAT_OPENLIB | ||
340 | |||
341 | |||
333 | 342 | ||
334 | /* | 343 | /* |
335 | @@ luai_apicheck is the assert macro used by the Lua-C API. | 344 | @@ luai_apicheck is the assert macro used by the Lua-C API. |