#include "lua.h"
Go to the source code of this file.
Macros | |
#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_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_utf8 (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) |
#define LUA_VERSUFFIX "_" LUA_VERSION_MAJOR "_" LUA_VERSION_MINOR |
LUALIB_API void() luaL_openlibs | ( | lua_State * | L | ) |
LUAMOD_API int() luaopen_base | ( | lua_State * | L | ) |
Definition at line 486 of file lbaselib.cpp.
References lua_pushglobaltable, lua_pushliteral, lua_pushvalue(), 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 229 of file lbitlib.cpp.
References luaL_error().
LUAMOD_API int() luaopen_coroutine | ( | lua_State * | L | ) |
Definition at line 164 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 452 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 769 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 398 of file lmathlib.cpp.
References lua_pushinteger(), lua_pushnumber(), lua_setfield(), luaL_newlib, and PI.
Referenced by lua_kernel_base::lua_kernel_base().
LUAMOD_API int() luaopen_os | ( | lua_State * | L | ) |
Definition at line 405 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 767 of file loadlib.cpp.
References createclibstable(), createsearcherstable(), LUA_CPATH_DEFAULT, LUA_CPATH_VAR, LUA_DIRSEP, LUA_EXEC_DIR, LUA_IGMARK, LUA_LOADED_TABLE, LUA_PATH_DEFAULT, LUA_PATH_MARK, LUA_PATH_SEP, LUA_PATH_VAR, lua_pop, LUA_PRELOAD_TABLE, lua_pushglobaltable, lua_pushliteral, lua_pushvalue(), LUA_REGISTRYINDEX, lua_setfield(), 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 1579 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 441 of file ltablib.cpp.
References lua_getfield(), lua_setglobal(), and luaL_newlib.
Referenced by lua_kernel_base::lua_kernel_base().
LUAMOD_API int() luaopen_utf8 | ( | lua_State * | L | ) |
Definition at line 250 of file lutf8lib.cpp.
References lua_pushlstring(), lua_setfield(), luaL_newlib, and UTF8PATT.
Referenced by lua_kernel_base::lua_kernel_base().