The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros | Functions | Variables
linit.cpp File Reference
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"
Include dependency graph for linit.cpp:

Go to the source code of this file.

Macros

#define linit_c
 
#define LUA_LIB
 

Functions

LUALIB_API void luaL_openlibs (lua_State *L)
 

Variables

static const luaL_Reg loadedlibs []
 
static const luaL_Reg preloadedlibs []
 

Macro Definition Documentation

#define linit_c

Definition at line 15 of file linit.cpp.

#define LUA_LIB

Definition at line 16 of file linit.cpp.

Function Documentation

LUALIB_API void luaL_openlibs ( lua_State L)

Variable Documentation

const luaL_Reg loadedlibs[]
static
Initial value:
= {
{"_G", luaopen_base},
{NULL, NULL}
}
LUAMOD_API int luaopen_debug(lua_State *L)
Definition: ldblib.cpp:393
#define LUA_DBLIBNAME
Definition: lualib.h:37
LUAMOD_API int luaopen_math(lua_State *L)
Definition: lmathlib.cpp:269
#define LUA_MATHLIBNAME
Definition: lualib.h:34
LUAMOD_API int luaopen_base(lua_State *L)
Definition: lbaselib.cpp:446
LUAMOD_API int luaopen_coroutine(lua_State *L)
Definition: lcorolib.cpp:150
LUAMOD_API int luaopen_os(lua_State *L)
Definition: loslib.cpp:318
LUAMOD_API int luaopen_io(lua_State *L)
Definition: liolib.cpp:656
LUAMOD_API int luaopen_string(lua_State *L)
Definition: lstrlib.cpp:1013
LUAMOD_API int luaopen_table(lua_State *L)
Definition: ltablib.cpp:273
LUAMOD_API int luaopen_package(lua_State *L)
Definition: loadlib.cpp:689
#define LUA_BITLIBNAME
Definition: lualib.h:31
#define LUA_STRLIBNAME
Definition: lualib.h:28
#define LUA_TABLIBNAME
Definition: lualib.h:19
#define LUA_OSLIBNAME
Definition: lualib.h:25
#define LUA_COLIBNAME
Definition: lualib.h:16
#define LUA_IOLIBNAME
Definition: lualib.h:22
LUAMOD_API int luaopen_bit32(lua_State *L)
Definition: lbitlib.cpp:207
#define LUA_LOADLIBNAME
Definition: lualib.h:40

Definition at line 28 of file linit.cpp.

const luaL_Reg preloadedlibs[]
static
Initial value:
= {
{NULL, NULL}
}

Definition at line 46 of file linit.cpp.