Remove building with NOCRYPTO option
[minix.git] / external / mit / lua / dist / src / lualib.h
blob644f80d9e1f66343832b697d63a93ef118a43ebe
1 /* $NetBSD: lualib.h,v 1.2 2014/07/19 18:38:34 lneto Exp $ */
3 /*
4 ** $Id: lualib.h,v 1.2 2014/07/19 18:38:34 lneto Exp $
5 ** Lua standard libraries
6 ** See Copyright Notice in lua.h
7 */
10 #ifndef lualib_h
11 #define lualib_h
13 #include "lua.h"
17 LUAMOD_API int (luaopen_base) (lua_State *L);
19 #define LUA_COLIBNAME "coroutine"
20 LUAMOD_API int (luaopen_coroutine) (lua_State *L);
22 #define LUA_TABLIBNAME "table"
23 LUAMOD_API int (luaopen_table) (lua_State *L);
25 #define LUA_IOLIBNAME "io"
26 LUAMOD_API int (luaopen_io) (lua_State *L);
28 #define LUA_OSLIBNAME "os"
29 LUAMOD_API int (luaopen_os) (lua_State *L);
31 #define LUA_STRLIBNAME "string"
32 LUAMOD_API int (luaopen_string) (lua_State *L);
34 #define LUA_UTF8LIBNAME "utf8"
35 LUAMOD_API int (luaopen_utf8) (lua_State *L);
37 #define LUA_BITLIBNAME "bit32"
38 LUAMOD_API int (luaopen_bit32) (lua_State *L);
40 #define LUA_MATHLIBNAME "math"
41 LUAMOD_API int (luaopen_math) (lua_State *L);
43 #define LUA_DBLIBNAME "debug"
44 LUAMOD_API int (luaopen_debug) (lua_State *L);
46 #define LUA_LOADLIBNAME "package"
47 LUAMOD_API int (luaopen_package) (lua_State *L);
50 /* open all previous libraries */
51 LUALIB_API void (luaL_openlibs) (lua_State *L);
55 #if !defined(lua_assert)
56 #define lua_assert(x) ((void)0)
57 #endif
60 #endif