diff options
Diffstat (limited to 'liolib.c')
| -rw-r--r-- | liolib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | ||
| 551 | LUALIB_API int luaopen_io (lua_State *L) { | 551 | LUAMOD_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); |
