From 2cbbf3933ac7aa82c788d388b64ad0df7a9d83f6 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 27 Oct 2000 14:15:53 -0200 Subject: new macro LUALIB_API (so the lib can be a separate DLL) --- lbaselib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lbaselib.c') diff --git a/lbaselib.c b/lbaselib.c index bb5a0d7f..e588f0c3 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.13 2000/10/20 16:57:42 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.14 2000/10/24 19:19:15 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ @@ -639,7 +639,7 @@ static const struct luaL_reg base_funcs[] = { -LUA_API void lua_baselibopen (lua_State *L) { +LUALIB_API void lua_baselibopen (lua_State *L) { luaL_openl(L, base_funcs); lua_pushstring(L, LUA_VERSION); lua_setglobal(L, "_VERSION"); -- cgit v1.2.3-55-g6feb