new protocol to open standard libraries
This commit is contained in:
6
lualib.h
6
lualib.h
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lualib.h,v 1.32 2004/07/09 15:47:48 roberto Exp roberto $
|
||||
** $Id: lualib.h,v 1.33 2005/01/10 16:31:30 roberto Exp roberto $
|
||||
** Lua standard libraries
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -36,12 +36,12 @@ LUALIB_API int (luaopen_math) (lua_State *L);
|
||||
#define LUA_DBLIBNAME "debug"
|
||||
LUALIB_API int (luaopen_debug) (lua_State *L);
|
||||
|
||||
|
||||
#define LUA_LOADLIBNAME "package"
|
||||
LUALIB_API int (luaopen_loadlib) (lua_State *L);
|
||||
|
||||
|
||||
/* open all previous libraries */
|
||||
LUALIB_API int (luaopen_stdlibs) (lua_State *L);
|
||||
LUALIB_API void (luaL_openlibs) (lua_State *L);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user