diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-09-16 16:25:59 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-09-16 16:25:59 -0300 |
commit | d600a6b5b358c28d482b01f10bfa3292b17f5d12 (patch) | |
tree | 8f9047a23315351b32571092cade0883ace6f60e | |
parent | 75ac0d217266dba48a887df96d37398140e22b9e (diff) | |
download | lua-d600a6b5b358c28d482b01f10bfa3292b17f5d12.tar.gz lua-d600a6b5b358c28d482b01f10bfa3292b17f5d12.tar.bz2 lua-d600a6b5b358c28d482b01f10bfa3292b17f5d12.zip |
a generic input stream interface
-rw-r--r-- | lzio.c (renamed from zio.c) | 13 | ||||
-rw-r--r-- | lzio.h (renamed from zio.h) | 11 |
2 files changed, 14 insertions, 10 deletions
@@ -1,13 +1,16 @@ | |||
1 | /* | 1 | /* |
2 | * zio.c | 2 | ** $Id: zio.c,v 1.2 1997/06/20 19:25:54 roberto Exp $ |
3 | * a generic input stream interface | 3 | ** a generic input stream interface |
4 | * $Id: zio.c,v 1.1 1997/06/16 16:50:22 roberto Exp roberto $ | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
6 | 6 | ||
7 | |||
8 | |||
7 | #include <stdio.h> | 9 | #include <stdio.h> |
8 | #include <stdlib.h> | ||
9 | #include <string.h> | 10 | #include <string.h> |
10 | #include "zio.h" | 11 | |
12 | #include "lzio.h" | ||
13 | |||
11 | 14 | ||
12 | 15 | ||
13 | /* ----------------------------------------------------- memory buffers --- */ | 16 | /* ----------------------------------------------------- memory buffers --- */ |
@@ -1,11 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * zio.h | 2 | ** $Id: $ |
3 | * a generic input stream interface | 3 | ** Buffered streams |
4 | * $Id: zio.h,v 1.4 1997/06/19 18:55:28 roberto Exp roberto $ | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef zio_h | 7 | |
8 | #define zio_h | 8 | #ifndef lzio_h |
9 | #define lzio_h | ||
9 | 10 | ||
10 | #include <stdio.h> | 11 | #include <stdio.h> |
11 | 12 | ||