Handling of LUA_PATH/LUA_CPATH moved back to 'package' library

to avoid incompatibilites with previous releases
This commit is contained in:
Roberto Ierusalimschy
2017-01-12 15:14:26 -02:00
parent 08199ade4a
commit 94c1b3a8ee
3 changed files with 101 additions and 94 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lualib.h,v 1.43 2011/12/08 12:11:37 roberto Exp roberto $
** $Id: lualib.h,v 1.44 2014/02/06 17:32:33 roberto Exp roberto $
** Lua standard libraries
** See Copyright Notice in lua.h
*/
@@ -11,6 +11,9 @@
#include "lua.h"
/* version suffix for environment variable names */
#define LUA_VERSUFFIX "_" LUA_VERSION_MAJOR "_" LUA_VERSION_MINOR
LUAMOD_API int (luaopen_base) (lua_State *L);