diff options
-rw-r--r-- | zio.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * zio.h | 2 | * zio.h |
3 | * a generic input stream interface | 3 | * a generic input stream interface |
4 | * $Id: zio.h,v 1.4 1997/06/13 13:49:16 lhf Exp $ | 4 | * $Id: zio.h,v 1.1 1997/06/16 16:50:22 roberto Exp roberto $ |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef zio_h | 7 | #ifndef zio_h |
@@ -9,6 +9,15 @@ | |||
9 | 9 | ||
10 | #include <stdio.h> | 10 | #include <stdio.h> |
11 | 11 | ||
12 | |||
13 | |||
14 | /* For Lua only */ | ||
15 | #define zFopen luaz_Fopen | ||
16 | #define zfopen luaz_fopen | ||
17 | #define zpopen luaz_popen | ||
18 | #define zsopen luaz_sopen | ||
19 | #define zmopen luaz_mopen | ||
20 | |||
12 | #define EOZ (-1) /* end of stream */ | 21 | #define EOZ (-1) /* end of stream */ |
13 | 22 | ||
14 | typedef struct zio ZIO; | 23 | typedef struct zio ZIO; |