summaryrefslogtreecommitdiff
path: root/liolib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-11-24 10:05:44 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-11-24 10:05:44 -0200
commita6f465f55802989c1656d1a3b030c315c8ef2690 (patch)
treed82e6d23612d42957341f3e8bd53937c267a1d1e /liolib.c
parent9a41506b8f26e387493880e0affc2e23d604a97e (diff)
downloadlua-a6f465f55802989c1656d1a3b030c315c8ef2690.tar.gz
lua-a6f465f55802989c1656d1a3b030c315c8ef2690.tar.bz2
lua-a6f465f55802989c1656d1a3b030c315c8ef2690.zip
new mark LUAMOD_API for all luaopen_* functions
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 7427806c..767f7979 100644
--- a/liolib.c
+++ b/liolib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: liolib.c,v 2.81 2009/08/28 13:51:57 roberto Exp roberto $ 2** $Id: liolib.c,v 2.82 2009/09/01 19:10:48 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*/
@@ -548,7 +548,7 @@ static void newfenv (lua_State *L, lua_CFunction cls) {
548} 548}
549 549
550 550
551LUALIB_API int luaopen_io (lua_State *L) { 551LUAMOD_API int luaopen_io (lua_State *L) {
552 createmeta(L); 552 createmeta(L);
553 /* create (private) environment (with fields IO_INPUT, IO_OUTPUT, __close) */ 553 /* create (private) environment (with fields IO_INPUT, IO_OUTPUT, __close) */
554 newfenv(L, io_fclose); 554 newfenv(L, io_fclose);