diff options
Diffstat (limited to 'lstrlib.c')
-rw-r--r-- | lstrlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstrlib.c,v 1.142 2009/02/03 19:39:19 roberto Exp roberto $ | 2 | ** $Id: lstrlib.c,v 1.143 2009/06/18 16:51:03 roberto Exp roberto $ |
3 | ** Standard library for string operations and pattern-matching | 3 | ** Standard library for string operations and pattern-matching |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -858,7 +858,7 @@ static void createmetatable (lua_State *L) { | |||
858 | /* | 858 | /* |
859 | ** Open string library | 859 | ** Open string library |
860 | */ | 860 | */ |
861 | LUALIB_API int luaopen_string (lua_State *L) { | 861 | LUAMOD_API int luaopen_string (lua_State *L) { |
862 | luaL_register(L, LUA_STRLIBNAME, strlib); | 862 | luaL_register(L, LUA_STRLIBNAME, strlib); |
863 | #if defined(LUA_COMPAT_GFIND) | 863 | #if defined(LUA_COMPAT_GFIND) |
864 | lua_getfield(L, -1, "gmatch"); | 864 | lua_getfield(L, -1, "gmatch"); |