diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-24 10:05:44 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-24 10:05:44 -0200 |
commit | a6f465f55802989c1656d1a3b030c315c8ef2690 (patch) | |
tree | d82e6d23612d42957341f3e8bd53937c267a1d1e /lualib.h | |
parent | 9a41506b8f26e387493880e0affc2e23d604a97e (diff) | |
download | lua-a6f465f55802989c1656d1a3b030c315c8ef2690.tar.gz lua-a6f465f55802989c1656d1a3b030c315c8ef2690.tar.bz2 lua-a6f465f55802989c1656d1a3b030c315c8ef2690.zip |
new mark LUAMOD_API for all luaopen_* functions
Diffstat (limited to 'lualib.h')
-rw-r--r-- | lualib.h | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lualib.h,v 1.37 2006/09/11 14:07:24 roberto Exp roberto $ | 2 | ** $Id: lualib.h,v 1.38 2009/07/01 16:16:40 roberto Exp roberto $ |
3 | ** Lua standard libraries | 3 | ** Lua standard libraries |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -16,31 +16,31 @@ | |||
16 | 16 | ||
17 | 17 | ||
18 | #define LUA_COLIBNAME "coroutine" | 18 | #define LUA_COLIBNAME "coroutine" |
19 | LUALIB_API int (luaopen_base) (lua_State *L); | 19 | LUAMOD_API int (luaopen_base) (lua_State *L); |
20 | 20 | ||
21 | #define LUA_TABLIBNAME "table" | 21 | #define LUA_TABLIBNAME "table" |
22 | LUALIB_API int (luaopen_table) (lua_State *L); | 22 | LUAMOD_API int (luaopen_table) (lua_State *L); |
23 | 23 | ||
24 | #define LUA_IOLIBNAME "io" | 24 | #define LUA_IOLIBNAME "io" |
25 | LUALIB_API int (luaopen_io) (lua_State *L); | 25 | LUAMOD_API int (luaopen_io) (lua_State *L); |
26 | 26 | ||
27 | #define LUA_OSLIBNAME "os" | 27 | #define LUA_OSLIBNAME "os" |
28 | LUALIB_API int (luaopen_os) (lua_State *L); | 28 | LUAMOD_API int (luaopen_os) (lua_State *L); |
29 | 29 | ||
30 | #define LUA_STRLIBNAME "string" | 30 | #define LUA_STRLIBNAME "string" |
31 | LUALIB_API int (luaopen_string) (lua_State *L); | 31 | LUAMOD_API int (luaopen_string) (lua_State *L); |
32 | 32 | ||
33 | #define LUA_BITLIBNAME "bit" | 33 | #define LUA_BITLIBNAME "bit" |
34 | LUALIB_API int (luaopen_bit) (lua_State *L); | 34 | LUAMOD_API int (luaopen_bit) (lua_State *L); |
35 | 35 | ||
36 | #define LUA_MATHLIBNAME "math" | 36 | #define LUA_MATHLIBNAME "math" |
37 | LUALIB_API int (luaopen_math) (lua_State *L); | 37 | LUAMOD_API int (luaopen_math) (lua_State *L); |
38 | 38 | ||
39 | #define LUA_DBLIBNAME "debug" | 39 | #define LUA_DBLIBNAME "debug" |
40 | LUALIB_API int (luaopen_debug) (lua_State *L); | 40 | LUAMOD_API int (luaopen_debug) (lua_State *L); |
41 | 41 | ||
42 | #define LUA_LOADLIBNAME "package" | 42 | #define LUA_LOADLIBNAME "package" |
43 | LUALIB_API int (luaopen_package) (lua_State *L); | 43 | LUAMOD_API int (luaopen_package) (lua_State *L); |
44 | 44 | ||
45 | 45 | ||
46 | /* open all previous libraries */ | 46 | /* open all previous libraries */ |