diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-06-28 14:14:12 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-06-28 14:14:12 -0300 |
commit | 49a01c0991462ad5c6143b0d4ba37ec35c8bca2b (patch) | |
tree | 4372cb9a371defce68b21db9de98f1ff4020959d /luaconf.h | |
parent | 17526ed2fe81c52dd6cf22d90fea7fea62d07229 (diff) | |
download | lua-49a01c0991462ad5c6143b0d4ba37ec35c8bca2b.tar.gz lua-49a01c0991462ad5c6143b0d4ba37ec35c8bca2b.tar.bz2 lua-49a01c0991462ad5c6143b0d4ba37ec35c8bca2b.zip |
'package.loaders' -> 'package.searchers'
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.158 2011/05/26 16:09:40 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.159 2011/06/13 14:13:06 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 | */ |
@@ -246,6 +246,12 @@ | |||
246 | #define LUA_COMPAT_UNPACK | 246 | #define LUA_COMPAT_UNPACK |
247 | 247 | ||
248 | /* | 248 | /* |
249 | @@ LUA_COMPAT_LOADERS controls the presence of table 'package.loaders'. | ||
250 | ** You can replace it with 'package.searchers'. | ||
251 | */ | ||
252 | #define LUA_COMPAT_LOADERS | ||
253 | |||
254 | /* | ||
249 | @@ macro 'lua_cpcall' emulates deprecated function lua_cpcall. | 255 | @@ macro 'lua_cpcall' emulates deprecated function lua_cpcall. |
250 | ** You can call your C function directly (with light C functions). | 256 | ** You can call your C function directly (with light C functions). |
251 | */ | 257 | */ |