From e58ef8d0bbd2f4fc873cd40218922f9a25de4c2e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 14 May 2014 15:33:37 -0300 Subject: [PATCH] missing macro 'LUAMOD_API' in function to open library --- lutf8lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lutf8lib.c b/lutf8lib.c index f2a60dbc..eca23ab7 100644 --- a/lutf8lib.c +++ b/lutf8lib.c @@ -1,5 +1,5 @@ /* -** $Id: lutf8lib.c,v 1.7 2014/04/03 13:45:09 roberto Exp roberto $ +** $Id: lutf8lib.c,v 1.8 2014/04/11 18:19:07 roberto Exp roberto $ ** Standard library for UTF-8 manipulation ** See Copyright Notice in lua.h */ @@ -242,7 +242,7 @@ static struct luaL_Reg funcs[] = { }; -int luaopen_utf8 (lua_State *L) { +LUAMOD_API int luaopen_utf8 (lua_State *L) { luaL_newlib(L, funcs); lua_pushliteral(L, UTF8PATT); lua_setfield(L, -2, "charpatt");