#include "lua.h"

Go to the source code of this file.
Defines | |
| #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 52 of file linit.c.
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 447 of file lbaselib.c.
References lua_pushglobaltable, lua_pushliteral, lua_setfield(), LUA_VERSION, and luaL_setfuncs().
Referenced by LuaKernel::LuaKernel().


| LUAMOD_API int() luaopen_bit32 | ( | lua_State * | L | ) |
Definition at line 205 of file lbitlib.c.
References luaL_newlib.
| LUAMOD_API int() luaopen_coroutine | ( | lua_State * | L | ) |
Definition at line 150 of file lcorolib.c.
References luaL_newlib.
| LUAMOD_API int() luaopen_debug | ( | lua_State * | L | ) |
Definition at line 387 of file ldblib.c.
References luaL_newlib.
Referenced by LuaKernel::LuaKernel().

| LUAMOD_API int() luaopen_io | ( | lua_State * | L | ) |
Definition at line 648 of file liolib.c.
References createmeta(), createstdfile(), IO_INPUT, IO_OUTPUT, and luaL_newlib.

| LUAMOD_API int() luaopen_math | ( | lua_State * | L | ) |
Definition at line 275 of file lmathlib.c.
References lua_pushnumber(), lua_setfield(), luaL_newlib, and PI.
Referenced by LuaKernel::LuaKernel().


| LUAMOD_API int() luaopen_os | ( | lua_State * | L | ) |
Definition at line 318 of file loslib.c.
References luaL_newlib.
Referenced by LuaKernel::LuaKernel().

| LUAMOD_API int() luaopen_package | ( | lua_State * | L | ) |
Definition at line 673 of file loadlib.c.
References 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_pushcclosure(), lua_pushcfunction, lua_pushglobaltable, lua_pushliteral, lua_pushvalue(), lua_rawseti(), LUA_REGISTRYINDEX, lua_setfield(), luaL_getsubtable(), luaL_newlib, luaL_newmetatable(), luaL_setfuncs(), and setpath().
Referenced by LuaKernel::load_package().


| LUAMOD_API int() luaopen_string | ( | lua_State * | L | ) |
Definition at line 964 of file lstrlib.c.
References createmetatable(), and luaL_newlib.
Referenced by LuaKernel::LuaKernel().


| LUAMOD_API int() luaopen_table | ( | lua_State * | L | ) |
Definition at line 274 of file ltablib.c.
References lua_getfield(), lua_setglobal(), and luaL_newlib.
Referenced by LuaKernel::LuaKernel().


| Generated by doxygen 1.7.1 on Fri May 25 2012 01:08:19 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |