aboutsummaryrefslogtreecommitdiff
path: root/lbaselib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-27 14:15:53 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-27 14:15:53 -0200
commit2cbbf3933ac7aa82c788d388b64ad0df7a9d83f6 (patch)
treed2aba2867b81f95ebdf46741e616d8649e9c1a73 /lbaselib.c
parente2b6b7de1b51ac662ad76423e045d0cf3274f051 (diff)
downloadlua-2cbbf3933ac7aa82c788d388b64ad0df7a9d83f6.tar.gz
lua-2cbbf3933ac7aa82c788d388b64ad0df7a9d83f6.tar.bz2
lua-2cbbf3933ac7aa82c788d388b64ad0df7a9d83f6.zip
new macro LUALIB_API (so the lib can be a separate DLL)
Diffstat (limited to 'lbaselib.c')
-rw-r--r--lbaselib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbaselib.c b/lbaselib.c
index bb5a0d7f..e588f0c3 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbaselib.c,v 1.13 2000/10/20 16:57:42 roberto Exp roberto $ 2** $Id: lbaselib.c,v 1.14 2000/10/24 19:19:15 roberto Exp roberto $
3** Basic library 3** Basic library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -639,7 +639,7 @@ static const struct luaL_reg base_funcs[] = {
639 639
640 640
641 641
642LUA_API void lua_baselibopen (lua_State *L) { 642LUALIB_API void lua_baselibopen (lua_State *L) {
643 luaL_openl(L, base_funcs); 643 luaL_openl(L, base_funcs);
644 lua_pushstring(L, LUA_VERSION); 644 lua_pushstring(L, LUA_VERSION);
645 lua_setglobal(L, "_VERSION"); 645 lua_setglobal(L, "_VERSION");