diff options
| -rw-r--r-- | lutf8lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | ||
| 245 | int luaopen_utf8 (lua_State *L) { | 245 | LUAMOD_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"); |
