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 /loadlib.c | |
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 'loadlib.c')
-rw-r--r-- | loadlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: loadlib.c,v 1.66 2009/10/05 16:44:33 roberto Exp roberto $ | 2 | ** $Id: loadlib.c,v 1.67 2009/11/16 15:51:19 roberto Exp roberto $ |
3 | ** Dynamic library loader for Lua | 3 | ** Dynamic library loader for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | ** | 5 | ** |
@@ -647,7 +647,7 @@ static const lua_CFunction loaders[] = | |||
647 | {loader_preload, loader_Lua, loader_C, loader_Croot, NULL}; | 647 | {loader_preload, loader_Lua, loader_C, loader_Croot, NULL}; |
648 | 648 | ||
649 | 649 | ||
650 | LUALIB_API int luaopen_package (lua_State *L) { | 650 | LUAMOD_API int luaopen_package (lua_State *L) { |
651 | int i; | 651 | int i; |
652 | /* create new type _LOADLIB */ | 652 | /* create new type _LOADLIB */ |
653 | luaL_newmetatable(L, "_LOADLIB"); | 653 | luaL_newmetatable(L, "_LOADLIB"); |