diff options
Diffstat (limited to 'lzio.h')
-rw-r--r-- | lzio.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lzio.h,v 1.22 2009/05/18 17:26:25 roberto Exp roberto $ | 2 | ** $Id: lzio.h,v 1.23 2011/02/17 17:34:16 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 | */ |
@@ -50,7 +50,6 @@ LUAI_FUNC char *luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n); | |||
50 | LUAI_FUNC void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, | 50 | LUAI_FUNC void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, |
51 | void *data); | 51 | void *data); |
52 | LUAI_FUNC size_t luaZ_read (ZIO* z, void* b, size_t n); /* read next n bytes */ | 52 | LUAI_FUNC size_t luaZ_read (ZIO* z, void* b, size_t n); /* read next n bytes */ |
53 | LUAI_FUNC int luaZ_lookahead (ZIO *z); | ||
54 | 53 | ||
55 | 54 | ||
56 | 55 | ||
@@ -62,7 +61,6 @@ struct Zio { | |||
62 | lua_Reader reader; /* reader function */ | 61 | lua_Reader reader; /* reader function */ |
63 | void* data; /* additional data */ | 62 | void* data; /* additional data */ |
64 | lua_State *L; /* Lua state (for reader) */ | 63 | lua_State *L; /* Lua state (for reader) */ |
65 | int eoz; /* true if reader has no more data */ | ||
66 | }; | 64 | }; |
67 | 65 | ||
68 | 66 | ||