Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/lualib.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002 ** $Id: lualib.h $
0003 ** Lua standard libraries
0004 ** See Copyright Notice in lua.h
0005 */
0006 
0007 
0008 #ifndef lualib_h
0009 #define lualib_h
0010 
0011 #include "lua.h"
0012 
0013 
0014 /* version suffix for environment variable names */
0015 #define LUA_VERSUFFIX          "_" LUA_VERSION_MAJOR "_" LUA_VERSION_MINOR
0016 
0017 
0018 LUAMOD_API int (luaopen_base) (lua_State *L);
0019 
0020 #define LUA_COLIBNAME   "coroutine"
0021 LUAMOD_API int (luaopen_coroutine) (lua_State *L);
0022 
0023 #define LUA_TABLIBNAME  "table"
0024 LUAMOD_API int (luaopen_table) (lua_State *L);
0025 
0026 #define LUA_IOLIBNAME   "io"
0027 LUAMOD_API int (luaopen_io) (lua_State *L);
0028 
0029 #define LUA_OSLIBNAME   "os"
0030 LUAMOD_API int (luaopen_os) (lua_State *L);
0031 
0032 #define LUA_STRLIBNAME  "string"
0033 LUAMOD_API int (luaopen_string) (lua_State *L);
0034 
0035 #define LUA_UTF8LIBNAME "utf8"
0036 LUAMOD_API int (luaopen_utf8) (lua_State *L);
0037 
0038 #define LUA_MATHLIBNAME "math"
0039 LUAMOD_API int (luaopen_math) (lua_State *L);
0040 
0041 #define LUA_DBLIBNAME   "debug"
0042 LUAMOD_API int (luaopen_debug) (lua_State *L);
0043 
0044 #define LUA_LOADLIBNAME "package"
0045 LUAMOD_API int (luaopen_package) (lua_State *L);
0046 
0047 
0048 /* open all previous libraries */
0049 LUALIB_API void (luaL_openlibs) (lua_State *L);
0050 
0051 
0052 #endif