2
** $Id: lualib.h 10334 2005-04-26 22:08:24Z vas $
3
** Lua standard libraries
4
** See Copyright Notice in lua.h
15
#define LUALIB_API LUA_API
19
#define LUA_COLIBNAME "coroutine"
20
LUALIB_API int luaopen_base (lua_State *L);
22
#define LUA_TABLIBNAME "table"
23
LUALIB_API int luaopen_table (lua_State *L);
25
#define LUA_IOLIBNAME "io"
26
#define LUA_OSLIBNAME "os"
27
LUALIB_API int luaopen_io (lua_State *L);
29
#define LUA_STRLIBNAME "string"
30
LUALIB_API int luaopen_string (lua_State *L);
32
#define LUA_MATHLIBNAME "math"
33
LUALIB_API int luaopen_math (lua_State *L);
35
#define LUA_DBLIBNAME "debug"
36
LUALIB_API int luaopen_debug (lua_State *L);
39
LUALIB_API int luaopen_loadlib (lua_State *L);
42
/* to help testing the libraries */
44
#define lua_assert(c) /* empty */
48
/* compatibility code */
49
#define lua_baselibopen luaopen_base
50
#define lua_tablibopen luaopen_table
51
#define lua_iolibopen luaopen_io
52
#define lua_strlibopen luaopen_string
53
#define lua_mathlibopen luaopen_math
54
#define lua_dblibopen luaopen_debug