new mark LUAMOD_API for all luaopen_* functions

This commit is contained in:
Roberto Ierusalimschy
2009-11-24 10:05:44 -02:00
parent 9a41506b8f
commit a6f465f558
11 changed files with 32 additions and 30 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lstrlib.c,v 1.142 2009/02/03 19:39:19 roberto Exp roberto $
** $Id: lstrlib.c,v 1.143 2009/06/18 16:51:03 roberto Exp roberto $
** Standard library for string operations and pattern-matching
** See Copyright Notice in lua.h
*/
@@ -858,7 +858,7 @@ static void createmetatable (lua_State *L) {
/*
** Open string library
*/
LUALIB_API int luaopen_string (lua_State *L) {
LUAMOD_API int luaopen_string (lua_State *L) {
luaL_register(L, LUA_STRLIBNAME, strlib);
#if defined(LUA_COMPAT_GFIND)
lua_getfield(L, -1, "gmatch");