diff options
Diffstat (limited to 'lzio.h')
-rw-r--r-- | lzio.h | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lzio.h,v 1.11 2002/06/03 20:11:07 roberto Exp roberto $ | 2 | ** $Id: lzio.h,v 1.12 2002/06/06 12:40:22 roberto Exp roberto $ |
3 | ** Buffered streams | 3 | ** Buffered streams |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -11,9 +11,6 @@ | |||
11 | #include "lua.h" | 11 | #include "lua.h" |
12 | 12 | ||
13 | 13 | ||
14 | /* For Lua only */ | ||
15 | #define zread luaZ_zread | ||
16 | |||
17 | #define EOZ (-1) /* end of stream */ | 14 | #define EOZ (-1) /* end of stream */ |
18 | 15 | ||
19 | typedef struct zio ZIO; | 16 | typedef struct zio ZIO; |
@@ -25,7 +22,7 @@ typedef struct zio ZIO; | |||
25 | #define zname(z) ((z)->name) | 22 | #define zname(z) ((z)->name) |
26 | 23 | ||
27 | void luaZ_init (ZIO *z, lua_Chunkreader reader, void *data, const char *name); | 24 | void luaZ_init (ZIO *z, lua_Chunkreader reader, void *data, const char *name); |
28 | size_t luaZ_zread (ZIO* z, void* b, size_t n); /* read next n bytes */ | 25 | size_t luaZ_read (ZIO* z, void* b, size_t n); /* read next n bytes */ |
29 | int luaZ_lookahead (ZIO *z); | 26 | int luaZ_lookahead (ZIO *z); |
30 | 27 | ||
31 | 28 | ||