lua5.4
宏定义 | 函数
lualib.h 文件参考
#include "lua.h"
lualib.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

宏定义

#define LUA_VERSUFFIX   "_" LUA_VERSION_MAJOR "_" LUA_VERSION_MINOR
 
#define LUA_COLIBNAME   "coroutine"
 
#define LUA_TABLIBNAME   "table"
 
#define LUA_IOLIBNAME   "io"
 
#define LUA_OSLIBNAME   "os"
 
#define LUA_STRLIBNAME   "string"
 
#define LUA_UTF8LIBNAME   "utf8"
 
#define LUA_MATHLIBNAME   "math"
 
#define LUA_DBLIBNAME   "debug"
 
#define LUA_LOADLIBNAME   "package"
 

函数

LUAMOD_API int() luaopen_base (lua_State *L)
 
LUAMOD_API int() luaopen_coroutine (lua_State *L)
 
LUAMOD_API int() luaopen_table (lua_State *L)
 
LUAMOD_API int() luaopen_io (lua_State *L)
 
LUAMOD_API int() luaopen_os (lua_State *L)
 
LUAMOD_API int() luaopen_string (lua_State *L)
 
LUAMOD_API int() luaopen_utf8 (lua_State *L)
 
LUAMOD_API int() luaopen_math (lua_State *L)
 
LUAMOD_API int() luaopen_debug (lua_State *L)
 
LUAMOD_API int() luaopen_package (lua_State *L)
 
LUALIB_API void() luaL_openlibs (lua_State *L)
 

宏定义说明

◆ LUA_COLIBNAME

#define LUA_COLIBNAME   "coroutine"

◆ LUA_DBLIBNAME

#define LUA_DBLIBNAME   "debug"

◆ LUA_IOLIBNAME

#define LUA_IOLIBNAME   "io"

◆ LUA_LOADLIBNAME

#define LUA_LOADLIBNAME   "package"

◆ LUA_MATHLIBNAME

#define LUA_MATHLIBNAME   "math"

◆ LUA_OSLIBNAME

#define LUA_OSLIBNAME   "os"

◆ LUA_STRLIBNAME

#define LUA_STRLIBNAME   "string"

◆ LUA_TABLIBNAME

#define LUA_TABLIBNAME   "table"

◆ LUA_UTF8LIBNAME

#define LUA_UTF8LIBNAME   "utf8"

◆ LUA_VERSUFFIX

#define LUA_VERSUFFIX   "_" LUA_VERSION_MAJOR "_" LUA_VERSION_MINOR

函数说明

◆ luaL_openlibs()

LUALIB_API void() luaL_openlibs ( lua_State L)
函数调用图:
这是这个函数的调用关系图:

◆ luaopen_base()

LUAMOD_API int() luaopen_base ( lua_State L)
函数调用图:

◆ luaopen_coroutine()

LUAMOD_API int() luaopen_coroutine ( lua_State L)

◆ luaopen_debug()

LUAMOD_API int() luaopen_debug ( lua_State L)

◆ luaopen_io()

LUAMOD_API int() luaopen_io ( lua_State L)
函数调用图:

◆ luaopen_math()

LUAMOD_API int() luaopen_math ( lua_State L)
函数调用图:

◆ luaopen_os()

LUAMOD_API int() luaopen_os ( lua_State L)

◆ luaopen_package()

LUAMOD_API int() luaopen_package ( lua_State L)
函数调用图:

◆ luaopen_string()

LUAMOD_API int() luaopen_string ( lua_State L)
函数调用图:

◆ luaopen_table()

LUAMOD_API int() luaopen_table ( lua_State L)

◆ luaopen_utf8()

LUAMOD_API int() luaopen_utf8 ( lua_State L)
函数调用图: