diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-05-14 15:33:37 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-05-14 15:33:37 -0300 |
| commit | e58ef8d0bbd2f4fc873cd40218922f9a25de4c2e (patch) | |
| tree | bfbe81b078233de043babf76acfdb16c24ffb303 | |
| parent | e3b9569e046f679d142cfdfca544cf1a58e80149 (diff) | |
| download | lua-e58ef8d0bbd2f4fc873cd40218922f9a25de4c2e.tar.gz lua-e58ef8d0bbd2f4fc873cd40218922f9a25de4c2e.tar.bz2 lua-e58ef8d0bbd2f4fc873cd40218922f9a25de4c2e.zip | |
missing macro 'LUAMOD_API' in function to open library
| -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"); |
