#include "lua.h"
Go to the source code of this file.
Macros | |
#define | LUA_COLIBNAME "coroutine" |
#define | LUA_TABLIBNAME "table" |
#define | LUA_IOLIBNAME "io" |
#define | LUA_OSLIBNAME "os" |
#define | LUA_STRLIBNAME "string" |
#define | LUA_BITLIBNAME "bit32" |
#define | LUA_MATHLIBNAME "math" |
#define | LUA_DBLIBNAME "debug" |
#define | LUA_LOADLIBNAME "package" |
#define | lua_assert(x) ((void)0) |
Functions | |
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_bit32 (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) |
LUALIB_API void() luaL_openlibs | ( | lua_State * | L | ) |
Definition at line 51 of file linit.cpp.
References luaL_Reg::func, lua_pop, lua_pushcfunction, LUA_REGISTRYINDEX, lua_setfield(), luaL_getsubtable(), luaL_requiref(), and luaL_Reg::name.
Referenced by pmain().
LUAMOD_API int() luaopen_base | ( | lua_State * | L | ) |
Definition at line 446 of file lbaselib.cpp.
References lua_pushglobaltable, lua_pushliteral, lua_setfield(), LUA_VERSION, and luaL_setfuncs().
Referenced by lua_kernel_base::lua_kernel_base().
LUAMOD_API int() luaopen_bit32 | ( | lua_State * | L | ) |
Definition at line 207 of file lbitlib.cpp.
References luaL_newlib.
Referenced by lua_kernel_base::lua_kernel_base().
LUAMOD_API int() luaopen_coroutine | ( | lua_State * | L | ) |
Definition at line 150 of file lcorolib.cpp.
References luaL_newlib.
Referenced by lua_kernel_base::lua_kernel_base().
LUAMOD_API int() luaopen_debug | ( | lua_State * | L | ) |
Definition at line 393 of file ldblib.cpp.
References luaL_newlib.
Referenced by lua_kernel_base::lua_kernel_base().
LUAMOD_API int() luaopen_io | ( | lua_State * | L | ) |
Definition at line 656 of file liolib.cpp.
References createmeta(), createstdfile(), IO_INPUT, IO_OUTPUT, and luaL_newlib.
LUAMOD_API int() luaopen_math | ( | lua_State * | L | ) |
Definition at line 269 of file lmathlib.cpp.
References lua_pushnumber(), lua_setfield(), and luaL_newlib.
Referenced by lua_kernel_base::lua_kernel_base().
LUAMOD_API int() luaopen_os | ( | lua_State * | L | ) |
Definition at line 318 of file loslib.cpp.
References luaL_newlib.
Referenced by lua_kernel_base::lua_kernel_base().
LUAMOD_API int() luaopen_package | ( | lua_State * | L | ) |
Definition at line 689 of file loadlib.cpp.
References CLIBS, createsearcherstable(), gctm(), LUA_CPATH, LUA_CPATH_DEFAULT, LUA_CPATHVERSION, lua_createtable(), LUA_DIRSEP, LUA_EXEC_DIR, LUA_IGMARK, LUA_PATH, LUA_PATH_DEFAULT, LUA_PATH_MARK, LUA_PATH_SEP, LUA_PATHVERSION, lua_pop, lua_pushcfunction, lua_pushglobaltable, lua_pushliteral, lua_pushvalue(), LUA_REGISTRYINDEX, lua_setfield(), lua_setmetatable(), luaL_getsubtable(), luaL_newlib, luaL_setfuncs(), and setpath().
Referenced by lua_kernel_base::load_package().
LUAMOD_API int() luaopen_string | ( | lua_State * | L | ) |
Definition at line 1013 of file lstrlib.cpp.
References createmetatable(), and luaL_newlib.
Referenced by lua_kernel_base::lua_kernel_base().
LUAMOD_API int() luaopen_table | ( | lua_State * | L | ) |
Definition at line 273 of file ltablib.cpp.
References lua_getfield(), lua_setglobal(), and luaL_newlib.
Referenced by lua_kernel_base::lua_kernel_base().