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 d4f69fc4af..da82005c9d 100644
--- a/apps/plugins/lua/lualib.h
+++ b/apps/plugins/lua/lualib.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id$ 2** $Id: lualib.h,v 1.43.1.1 2013/04/12 18:48:47 roberto Exp $
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*"
16 14
15LUAMOD_API int (luaopen_base) (lua_State *L);
17 16
18#define LUA_COLIBNAME "coroutine" 17#define LUA_COLIBNAME "coroutine"
19LUALIB_API int (luaopen_base) (lua_State *L); 18LUAMOD_API int (luaopen_coroutine) (lua_State *L);
20 19
21#define LUA_TABLIBNAME "table" 20#define LUA_TABLIBNAME "table"
22LUALIB_API int (luaopen_table) (lua_State *L); 21LUAMOD_API int (luaopen_table) (lua_State *L);
23 22
24#define LUA_IOLIBNAME "io" 23#define LUA_IOLIBNAME "io"
25LUALIB_API int (luaopen_io) (lua_State *L); 24LUAMOD_API int (luaopen_io) (lua_State *L);
26 25
27#define LUA_OSLIBNAME "os" 26#define LUA_OSLIBNAME "os"
28LUALIB_API int (luaopen_os) (lua_State *L); 27LUAMOD_API int (luaopen_os) (lua_State *L);
29 28
30#define LUA_STRLIBNAME "string" 29#define LUA_STRLIBNAME "string"
31LUALIB_API int (luaopen_string) (lua_State *L); 30LUAMOD_API int (luaopen_string) (lua_State *L);
31
32#define LUA_BITLIBNAME "bit32"
33LUAMOD_API int (luaopen_bit32) (lua_State *L);
32 34
33#define LUA_MATHLIBNAME "math" 35#define LUA_MATHLIBNAME "math"
34LUALIB_API int (luaopen_math) (lua_State *L); 36LUAMOD_API int (luaopen_math) (lua_State *L);
35 37
36#define LUA_DBLIBNAME "debug" 38#define LUA_DBLIBNAME "debug"
37LUALIB_API int (luaopen_debug) (lua_State *L); 39LUAMOD_API int (luaopen_debug) (lua_State *L);
38 40
39#define LUA_LOADLIBNAME "package" 41#define LUA_LOADLIBNAME "package"
40LUALIB_API int (luaopen_package) (lua_State *L); 42LUAMOD_API int (luaopen_package) (lua_State *L);
41 43
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#ifndef lua_assert 50#if !defined(lua_assert)
51#define lua_assert(x) ((void)0) 51#define lua_assert(x) ((void)0)
52#endif 52#endif
53 53