'package.loaders' -> 'package.searchers'

This commit is contained in:
Roberto Ierusalimschy
2011-06-28 14:14:12 -03:00
parent 17526ed2fe
commit 49a01c0991
2 changed files with 35 additions and 25 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: luaconf.h,v 1.158 2011/05/26 16:09:40 roberto Exp roberto $
** $Id: luaconf.h,v 1.159 2011/06/13 14:13:06 roberto Exp roberto $
** Configuration file for Lua
** See Copyright Notice in lua.h
*/
@@ -245,6 +245,12 @@
*/
#define LUA_COMPAT_UNPACK
/*
@@ LUA_COMPAT_LOADERS controls the presence of table 'package.loaders'.
** You can replace it with 'package.searchers'.
*/
#define LUA_COMPAT_LOADERS
/*
@@ macro 'lua_cpcall' emulates deprecated function lua_cpcall.
** You can call your C function directly (with light C functions).