correct name to open package library
This commit is contained in:
4
lualib.h
4
lualib.h
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lualib.h,v 1.33 2005/01/10 16:31:30 roberto Exp roberto $
|
||||
** $Id: lualib.h,v 1.34 2005/04/13 17:24:20 roberto Exp roberto $
|
||||
** Lua standard libraries
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -37,7 +37,7 @@ LUALIB_API int (luaopen_math) (lua_State *L);
|
||||
LUALIB_API int (luaopen_debug) (lua_State *L);
|
||||
|
||||
#define LUA_LOADLIBNAME "package"
|
||||
LUALIB_API int (luaopen_loadlib) (lua_State *L);
|
||||
LUALIB_API int (luaopen_package) (lua_State *L);
|
||||
|
||||
|
||||
/* open all previous libraries */
|
||||
|
||||
Reference in New Issue
Block a user