summaryrefslogtreecommitdiff
path: root/liolib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-07-12 11:32:08 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-07-12 11:32:08 -0300
commit80ac5e83fdc07d14c55056365aaf370436fbeb4e (patch)
treef4bf71357190c7e545a82fc48c93c03e12c9a75e /liolib.c
parent289b5dc67ae79423b35347ef7f8277ebc42d704a (diff)
downloadlua-github-80ac5e83fdc07d14c55056365aaf370436fbeb4e.tar.gz
details (alphabetical order for list of functions)
Diffstat (limited to 'liolib.c')
-rw-r--r--liolib.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/liolib.c b/liolib.c
index ed641a26..3f5771ad 100644
--- a/liolib.c
+++ b/liolib.c
@@ -1,5 +1,5 @@
/*
-** $Id: liolib.c,v 2.62 2005/06/06 13:30:52 roberto Exp roberto $
+** $Id: liolib.c,v 2.63 2005/06/06 18:42:21 roberto Exp roberto $
** Standard I/O (and system) library
** See Copyright Notice in lua.h
*/
@@ -460,12 +460,12 @@ static int f_flush (lua_State *L) {
static const luaL_reg iolib[] = {
- {"input", io_input},
- {"output", io_output},
- {"lines", io_lines},
{"close", io_close},
{"flush", io_flush},
+ {"input", io_input},
+ {"lines", io_lines},
{"open", io_open},
+ {"output", io_output},
{"popen", io_popen},
{"read", io_read},
{"tmpfile", io_tmpfile},
@@ -476,13 +476,13 @@ static const luaL_reg iolib[] = {
static const luaL_reg flib[] = {
+ {"close", io_close},
{"flush", f_flush},
- {"read", f_read},
{"lines", f_lines},
+ {"read", f_read},
{"seek", f_seek},
{"setvbuf", f_setvbuf},
{"write", f_write},
- {"close", io_close},
{"__gc", io_gc},
{"__tostring", io_tostring},
{NULL, NULL}