diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-06-18 17:30:52 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-06-18 17:30:52 -0300 |
commit | b9e31f73ee1acd556b00c6bc09b5d0be4eb3bb0f (patch) | |
tree | e69a19080a3509994b49fbccd5a4bd712cc8a277 | |
parent | ea98620d98a51f3732a82b2d0fe3c4e4452f1b8a (diff) | |
download | lua-b9e31f73ee1acd556b00c6bc09b5d0be4eb3bb0f.tar.gz lua-b9e31f73ee1acd556b00c6bc09b5d0be4eb3bb0f.tar.bz2 lua-b9e31f73ee1acd556b00c6bc09b5d0be4eb3bb0f.zip |
exported functions follow "lua" prefix rule.
-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; |