new macro LUALIB_API (so the lib can be a separate DLL)

This commit is contained in:
Roberto Ierusalimschy
2000-10-27 14:15:53 -02:00
parent e2b6b7de1b
commit 2cbbf3933a
8 changed files with 62 additions and 52 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lstrlib.c,v 1.54 2000/10/05 12:14:08 roberto Exp roberto $
** $Id: lstrlib.c,v 1.55 2000/10/20 16:39:03 roberto Exp roberto $
** Standard library for string operations and pattern-matching
** See Copyright Notice in lua.h
*/
@@ -616,6 +616,6 @@ static const struct luaL_reg strlib[] = {
/*
** Open string library
*/
LUA_API void lua_strlibopen (lua_State *L) {
LUALIB_API void lua_strlibopen (lua_State *L) {
luaL_openl(L, strlib);
}