summaryrefslogtreecommitdiff
path: root/lstrlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-11-24 10:05:44 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-11-24 10:05:44 -0200
commita6f465f55802989c1656d1a3b030c315c8ef2690 (patch)
treed82e6d23612d42957341f3e8bd53937c267a1d1e /lstrlib.c
parent9a41506b8f26e387493880e0affc2e23d604a97e (diff)
downloadlua-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstrlib.c b/lstrlib.c
index 6c8e1ba4..6ad7ca69 100644
--- a/lstrlib.c
+++ b/lstrlib.c
@@ -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*/
861LUALIB_API int luaopen_string (lua_State *L) { 861LUAMOD_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");