The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros | Functions
lualib.h File Reference
#include "lua.h"
Include dependency graph for lualib.h:
This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

#define lua_assert (   x)    ((void)0)

Definition at line 50 of file lualib.h.

#define LUA_BITLIBNAME   "bit32"

Definition at line 31 of file lualib.h.

#define LUA_COLIBNAME   "coroutine"

Definition at line 16 of file lualib.h.

#define LUA_DBLIBNAME   "debug"

Definition at line 37 of file lualib.h.

#define LUA_IOLIBNAME   "io"

Definition at line 22 of file lualib.h.

#define LUA_LOADLIBNAME   "package"

Definition at line 40 of file lualib.h.

#define LUA_MATHLIBNAME   "math"

Definition at line 34 of file lualib.h.

#define LUA_OSLIBNAME   "os"

Definition at line 25 of file lualib.h.

#define LUA_STRLIBNAME   "string"

Definition at line 28 of file lualib.h.

#define LUA_TABLIBNAME   "table"

Definition at line 19 of file lualib.h.

Function Documentation

LUALIB_API void() luaL_openlibs ( lua_State L)
LUAMOD_API int() luaopen_base ( lua_State L)
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)
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().