summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/lualib.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua/lualib.h')
-rw-r--r--apps/plugins/lua/lualib.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/apps/plugins/lua/lualib.h b/apps/plugins/lua/lualib.h
index da82005c9d..d4f69fc4af 100644
--- a/apps/plugins/lua/lualib.h
+++ b/apps/plugins/lua/lualib.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lualib.h,v 1.43.1.1 2013/04/12 18:48:47 roberto Exp $ 2** $Id$
3** Lua standard libraries 3** Lua standard libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -11,43 +11,43 @@
11#include "lua.h" 11#include "lua.h"
12 12
13 13
14/* Key to file-handle type */
15#define LUA_FILEHANDLE "FILE*"
14 16
15LUAMOD_API int (luaopen_base) (lua_State *L);
16 17
17#define LUA_COLIBNAME "coroutine" 18#define LUA_COLIBNAME "coroutine"
18LUAMOD_API int (luaopen_coroutine) (lua_State *L); 19LUALIB_API int (luaopen_base) (lua_State *L);
19 20
20#define LUA_TABLIBNAME "table" 21#define LUA_TABLIBNAME "table"
21LUAMOD_API int (luaopen_table) (lua_State *L); 22LUALIB_API int (luaopen_table) (lua_State *L);
22 23
23#define LUA_IOLIBNAME "io" 24#define LUA_IOLIBNAME "io"
24LUAMOD_API int (luaopen_io) (lua_State *L); 25LUALIB_API int (luaopen_io) (lua_State *L);
25 26
26#define LUA_OSLIBNAME "os" 27#define LUA_OSLIBNAME "os"
27LUAMOD_API int (luaopen_os) (lua_State *L); 28LUALIB_API int (luaopen_os) (lua_State *L);
28 29
29#define LUA_STRLIBNAME "string" 30#define LUA_STRLIBNAME "string"
30LUAMOD_API int (luaopen_string) (lua_State *L); 31LUALIB_API int (luaopen_string) (lua_State *L);
31
32#define LUA_BITLIBNAME "bit32"
33LUAMOD_API int (luaopen_bit32) (lua_State *L);
34 32
35#define LUA_MATHLIBNAME "math" 33#define LUA_MATHLIBNAME "math"
36LUAMOD_API int (luaopen_math) (lua_State *L); 34LUALIB_API int (luaopen_math) (lua_State *L);
37 35
38#define LUA_DBLIBNAME "debug" 36#define LUA_DBLIBNAME "debug"
39LUAMOD_API int (luaopen_debug) (lua_State *L); 37LUALIB_API int (luaopen_debug) (lua_State *L);
40 38
41#define LUA_LOADLIBNAME "package" 39#define LUA_LOADLIBNAME "package"
42LUAMOD_API int (luaopen_package) (lua_State *L); 40LUALIB_API int (luaopen_package) (lua_State *L);
43 41
42#define LUA_BITLIBNAME "bit"
43LUALIB_API int (luaopen_bit) (lua_State *L);
44 44
45/* open all previous libraries */ 45/* open all previous libraries */
46LUALIB_API void (luaL_openlibs) (lua_State *L); 46LUALIB_API void (luaL_openlibs) (lua_State *L);
47 47
48 48
49 49
50#if !defined(lua_assert) 50#ifndef lua_assert
51#define lua_assert(x) ((void)0) 51#define lua_assert(x) ((void)0)
52#endif 52#endif
53 53