aboutsummaryrefslogtreecommitdiff
path: root/lutf8lib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-05-14 15:33:37 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-05-14 15:33:37 -0300
commite58ef8d0bbd2f4fc873cd40218922f9a25de4c2e (patch)
treebfbe81b078233de043babf76acfdb16c24ffb303 /lutf8lib.c
parente3b9569e046f679d142cfdfca544cf1a58e80149 (diff)
downloadlua-e58ef8d0bbd2f4fc873cd40218922f9a25de4c2e.tar.gz
lua-e58ef8d0bbd2f4fc873cd40218922f9a25de4c2e.tar.bz2
lua-e58ef8d0bbd2f4fc873cd40218922f9a25de4c2e.zip
missing macro 'LUAMOD_API' in function to open library
Diffstat (limited to 'lutf8lib.c')
-rw-r--r--lutf8lib.c4
1 files 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 @@
1/* 1/*
2** $Id: lutf8lib.c,v 1.7 2014/04/03 13:45:09 roberto Exp roberto $ 2** $Id: lutf8lib.c,v 1.8 2014/04/11 18:19:07 roberto Exp roberto $
3** Standard library for UTF-8 manipulation 3** Standard library for UTF-8 manipulation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -242,7 +242,7 @@ static struct luaL_Reg funcs[] = {
242}; 242};
243 243
244 244
245int luaopen_utf8 (lua_State *L) { 245LUAMOD_API int luaopen_utf8 (lua_State *L) {
246 luaL_newlib(L, funcs); 246 luaL_newlib(L, funcs);
247 lua_pushliteral(L, UTF8PATT); 247 lua_pushliteral(L, UTF8PATT);
248 lua_setfield(L, -2, "charpatt"); 248 lua_setfield(L, -2, "charpatt");