lualib.h File Reference

Go to the source code of this file.

Defines

#define LUA_FILEHANDLE   "FILE*"
#define LUA_COLIBNAME   "coroutine"
#define LUA_TABLIBNAME   "table"
#define LUA_IOLIBNAME   "io"
#define LUA_OSLIBNAME   "os"
#define LUA_STRLIBNAME   "string"
#define LUA_MATHLIBNAME   "math"
#define LUA_DBLIBNAME   "debug"
#define LUA_LOADLIBNAME   "package"

Functions

LUALIB_API int() luaopen_base (lua_State *L)
LUALIB_API int() luaopen_table (lua_State *L)
LUALIB_API int() luaopen_io (lua_State *L)
LUALIB_API int() luaopen_os (lua_State *L)
LUALIB_API int() luaopen_string (lua_State *L)
LUALIB_API int() luaopen_math (lua_State *L)
LUALIB_API int() luaopen_debug (lua_State *L)
LUALIB_API int() luaopen_package (lua_State *L)
LUALIB_API void() luaL_openlibs (lua_State *L)

Define Documentation

#define LUA_COLIBNAME   "coroutine"

Definition at line 18 of file lualib.h.

Referenced by luaopen_base().

#define LUA_DBLIBNAME   "debug"

Definition at line 36 of file lualib.h.

Referenced by luaopen_debug().

#define LUA_FILEHANDLE   "FILE*"

Definition at line 15 of file lualib.h.

Referenced by createmeta(), io_type(), and newfile().

#define LUA_IOLIBNAME   "io"

Definition at line 24 of file lualib.h.

Referenced by luaopen_io().

#define LUA_LOADLIBNAME   "package"

Definition at line 39 of file lualib.h.

Referenced by luaopen_package().

#define LUA_MATHLIBNAME   "math"

Definition at line 33 of file lualib.h.

Referenced by luaopen_math().

#define LUA_OSLIBNAME   "os"

Definition at line 27 of file lualib.h.

Referenced by luaopen_os().

#define LUA_STRLIBNAME   "string"

Definition at line 30 of file lualib.h.

Referenced by luaopen_string().

#define LUA_TABLIBNAME   "table"

Definition at line 21 of file lualib.h.

Referenced by luaopen_table().


Function Documentation

LUALIB_API void() luaL_openlibs ( lua_State L  ) 

Definition at line 29 of file linit.c.

References luaL_Reg::func, lua_call(), lua_pushcfunction, lua_pushstring(), and luaL_Reg::name.

Referenced by cl_lua_new_libs(), and pmain().

LUALIB_API int() luaopen_base ( lua_State L  ) 

Definition at line 675 of file lbaselib.c.

References base_open(), LUA_COLIBNAME, and luaL_register().

LUALIB_API int() luaopen_debug ( lua_State L  ) 

Definition at line 393 of file ldblib.c.

References LUA_DBLIBNAME, and luaL_register().

LUALIB_API int() luaopen_io ( lua_State L  ) 
LUALIB_API int() luaopen_math ( lua_State L  ) 
LUALIB_API int() luaopen_os ( lua_State L  ) 

Definition at line 243 of file loslib.c.

References LUA_OSLIBNAME, and luaL_register().

LUALIB_API int() luaopen_package ( lua_State L  ) 
LUALIB_API int() luaopen_string ( lua_State L  ) 
LUALIB_API int() luaopen_table ( lua_State L  ) 

Definition at line 283 of file ltablib.c.

References LUA_TABLIBNAME, and luaL_register().


ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:50:00 2011 by Doxygen 1.6.1