annotate lib/lua/lua-5.2.2/lualib.h @ 1996:f7e8c4d4a01b

sound id fix
author zipi
date Sun, 03 Nov 2013 14:29:45 +0000
parents 41cc4dd3c122
children
rev   line source
1866
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
1 /*
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
2 ** $Id: lualib.h,v 1.43 2011/12/08 12:11:37 roberto Exp $
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
3 ** Lua standard libraries
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
4 ** See Copyright Notice in lua.h
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
5 */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
6
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
7
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
8 #ifndef lualib_h
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
9 #define lualib_h
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
10
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
11 #include "lua.h"
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
12
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
13
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
14
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
15 LUAMOD_API int (luaopen_base) (lua_State *L);
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
16
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
17 #define LUA_COLIBNAME "coroutine"
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
18 LUAMOD_API int (luaopen_coroutine) (lua_State *L);
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
19
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
20 #define LUA_TABLIBNAME "table"
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
21 LUAMOD_API int (luaopen_table) (lua_State *L);
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
22
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
23 #define LUA_IOLIBNAME "io"
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
24 LUAMOD_API int (luaopen_io) (lua_State *L);
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
25
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
26 #define LUA_OSLIBNAME "os"
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
27 LUAMOD_API int (luaopen_os) (lua_State *L);
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
28
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
29 #define LUA_STRLIBNAME "string"
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
30 LUAMOD_API int (luaopen_string) (lua_State *L);
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
31
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
32 #define LUA_BITLIBNAME "bit32"
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
33 LUAMOD_API int (luaopen_bit32) (lua_State *L);
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
34
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
35 #define LUA_MATHLIBNAME "math"
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
36 LUAMOD_API int (luaopen_math) (lua_State *L);
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
37
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
38 #define LUA_DBLIBNAME "debug"
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
39 LUAMOD_API int (luaopen_debug) (lua_State *L);
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
40
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
41 #define LUA_LOADLIBNAME "package"
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
42 LUAMOD_API int (luaopen_package) (lua_State *L);
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
43
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
44
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
45 /* open all previous libraries */
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
46 LUALIB_API void (luaL_openlibs) (lua_State *L);
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
47
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
48
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
49
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
50 #if !defined(lua_assert)
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
51 #define lua_assert(x) ((void)0)
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
52 #endif
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
53
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
54
41cc4dd3c122 Lua 5.2.2 added.
Nomad
parents:
diff changeset
55 #endif