Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ceguilua/src/lua-5.0.3/lua/lualib.h @ 1808

Last change on this file since 1808 was 1803, checked in by rgrieder, 16 years ago

added files for lua 5.1.3, lua 5.0.3, CEGUILua-0.6.1 and CEGUILua-0.5.0b

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1/*
2** $Id: lualib.h,v 1.28 2003/03/18 12:24:26 roberto Exp $
3** Lua standard libraries
4** See Copyright Notice in lua.h
5*/
6
7
8#ifndef lualib_h
9#define lualib_h
10
11#include "lua.h"
12
13
14#ifndef LUALIB_API
15#define LUALIB_API      LUA_API
16#endif
17
18
19#define LUA_COLIBNAME   "coroutine"
20LUALIB_API int luaopen_base (lua_State *L);
21
22#define LUA_TABLIBNAME  "table"
23LUALIB_API int luaopen_table (lua_State *L);
24
25#define LUA_IOLIBNAME   "io"
26#define LUA_OSLIBNAME   "os"
27LUALIB_API int luaopen_io (lua_State *L);
28
29#define LUA_STRLIBNAME  "string"
30LUALIB_API int luaopen_string (lua_State *L);
31
32#define LUA_MATHLIBNAME "math"
33LUALIB_API int luaopen_math (lua_State *L);
34
35#define LUA_DBLIBNAME   "debug"
36LUALIB_API int luaopen_debug (lua_State *L);
37
38
39LUALIB_API int luaopen_loadlib (lua_State *L);
40
41
42/* to help testing the libraries */
43#ifndef lua_assert
44#define lua_assert(c)           /* empty */
45#endif
46
47
48/* compatibility code */
49#define lua_baselibopen luaopen_base
50#define lua_tablibopen  luaopen_table
51#define lua_iolibopen   luaopen_io
52#define lua_strlibopen  luaopen_string
53#define lua_mathlibopen luaopen_math
54#define lua_dblibopen   luaopen_debug
55
56#endif
Note: See TracBrowser for help on using the repository browser.