aboutsummaryrefslogtreecommitdiff
path: root/liolib.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 /liolib.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 'liolib.c')
-rw-r--r--liolib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/liolib.c b/liolib.c
index d71965a6..6693df33 100644
--- a/liolib.c
+++ b/liolib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: liolib.c,v 1.88 2000/10/26 12:47:05 roberto Exp roberto $ 2** $Id: liolib.c,v 1.89 2000/10/26 12:53:55 roberto Exp roberto $
3** Standard I/O (and system) library 3** Standard I/O (and system) library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -712,7 +712,7 @@ static void openwithcontrol (lua_State *L) {
712} 712}
713 713
714 714
715LUA_API void lua_iolibopen (lua_State *L) { 715LUALIB_API void lua_iolibopen (lua_State *L) {
716 luaL_openl(L, iolib); 716 luaL_openl(L, iolib);
717 openwithcontrol(L); 717 openwithcontrol(L);
718} 718}