lua/lualib.h

Go to the documentation of this file.
00001 /*
00002 ** $Id: lualib.h,v 1.43 2011/12/08 12:11:37 roberto Exp $
00003 ** Lua standard libraries
00004 ** See Copyright Notice in lua.h
00005 */
00006 
00007 
00008 #ifndef lualib_h
00009 #define lualib_h
00010 
00011 #include "lua.h"
00012 
00013 
00014 
00015 LUAMOD_API int (luaopen_base) (lua_State *L);
00016 
00017 #define LUA_COLIBNAME   "coroutine"
00018 LUAMOD_API int (luaopen_coroutine) (lua_State *L);
00019 
00020 #define LUA_TABLIBNAME  "table"
00021 LUAMOD_API int (luaopen_table) (lua_State *L);
00022 
00023 #define LUA_IOLIBNAME   "io"
00024 LUAMOD_API int (luaopen_io) (lua_State *L);
00025 
00026 #define LUA_OSLIBNAME   "os"
00027 LUAMOD_API int (luaopen_os) (lua_State *L);
00028 
00029 #define LUA_STRLIBNAME  "string"
00030 LUAMOD_API int (luaopen_string) (lua_State *L);
00031 
00032 #define LUA_BITLIBNAME  "bit32"
00033 LUAMOD_API int (luaopen_bit32) (lua_State *L);
00034 
00035 #define LUA_MATHLIBNAME "math"
00036 LUAMOD_API int (luaopen_math) (lua_State *L);
00037 
00038 #define LUA_DBLIBNAME   "debug"
00039 LUAMOD_API int (luaopen_debug) (lua_State *L);
00040 
00041 #define LUA_LOADLIBNAME "package"
00042 LUAMOD_API int (luaopen_package) (lua_State *L);
00043 
00044 
00045 /* open all previous libraries */
00046 LUALIB_API void (luaL_openlibs) (lua_State *L);
00047 
00048 
00049 
00050 #if !defined(lua_assert)
00051 #define lua_assert(x)   ((void)0)
00052 #endif
00053 
00054 
00055 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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