From a6f465f55802989c1656d1a3b030c315c8ef2690 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 24 Nov 2009 10:05:44 -0200 Subject: new mark LUAMOD_API for all luaopen_* functions --- loadlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'loadlib.c') diff --git a/loadlib.c b/loadlib.c index 65182591..0c3db013 100644 --- a/loadlib.c +++ b/loadlib.c @@ -1,5 +1,5 @@ /* -** $Id: loadlib.c,v 1.66 2009/10/05 16:44:33 roberto Exp roberto $ +** $Id: loadlib.c,v 1.67 2009/11/16 15:51:19 roberto Exp roberto $ ** Dynamic library loader for Lua ** See Copyright Notice in lua.h ** @@ -647,7 +647,7 @@ static const lua_CFunction loaders[] = {loader_preload, loader_Lua, loader_C, loader_Croot, NULL}; -LUALIB_API int luaopen_package (lua_State *L) { +LUAMOD_API int luaopen_package (lua_State *L) { int i; /* create new type _LOADLIB */ luaL_newmetatable(L, "_LOADLIB"); -- cgit v1.2.3-55-g6feb