diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-24 10:05:44 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-24 10:05:44 -0200 |
commit | a6f465f55802989c1656d1a3b030c315c8ef2690 (patch) | |
tree | d82e6d23612d42957341f3e8bd53937c267a1d1e /lstrlib.c | |
parent | 9a41506b8f26e387493880e0affc2e23d604a97e (diff) | |
download | lua-a6f465f55802989c1656d1a3b030c315c8ef2690.tar.gz lua-a6f465f55802989c1656d1a3b030c315c8ef2690.tar.bz2 lua-a6f465f55802989c1656d1a3b030c315c8ef2690.zip |
new mark LUAMOD_API for all luaopen_* functions
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"); |