back with an "open all libs" function
This commit is contained in:
14
lualib.h
14
lualib.h
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lualib.h,v 1.29 2004/03/24 15:46:49 roberto Exp roberto $
|
||||
** $Id: lualib.h,v 1.30 2004/05/28 18:35:05 roberto Exp roberto $
|
||||
** Lua standard libraries
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -11,11 +11,6 @@
|
||||
#include "lua.h"
|
||||
|
||||
|
||||
#ifndef LUALIB_API
|
||||
#define LUALIB_API LUA_API
|
||||
#endif
|
||||
|
||||
|
||||
/* Key to file-handle type */
|
||||
#define LUA_FILEHANDLE "FILE*"
|
||||
|
||||
@@ -43,9 +38,8 @@ LUALIB_API int luaopen_debug (lua_State *L);
|
||||
LUALIB_API int luaopen_loadlib (lua_State *L);
|
||||
|
||||
|
||||
/* to help testing the libraries */
|
||||
#ifndef lua_assert
|
||||
#define lua_assert(c) /* empty */
|
||||
#endif
|
||||
/* open all previous libraries */
|
||||
LUALIB_API int luaopen_stdlibs (lua_State *L);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user