From 7482e8f914fbf198af02c2970cf0aadd80740f92 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 23 Feb 2011 10:13:10 -0300 Subject: no need of lookahead in Zio --- lzio.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lzio.h') diff --git a/lzio.h b/lzio.h index 36a00900..2c666ab3 100644 --- a/lzio.h +++ b/lzio.h @@ -1,5 +1,5 @@ /* -** $Id: lzio.h,v 1.22 2009/05/18 17:26:25 roberto Exp roberto $ +** $Id: lzio.h,v 1.23 2011/02/17 17:34:16 roberto Exp roberto $ ** Buffered streams ** See Copyright Notice in lua.h */ @@ -50,7 +50,6 @@ LUAI_FUNC char *luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n); LUAI_FUNC void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, void *data); LUAI_FUNC size_t luaZ_read (ZIO* z, void* b, size_t n); /* read next n bytes */ -LUAI_FUNC int luaZ_lookahead (ZIO *z); @@ -62,7 +61,6 @@ struct Zio { lua_Reader reader; /* reader function */ void* data; /* additional data */ lua_State *L; /* Lua state (for reader) */ - int eoz; /* true if reader has no more data */ }; -- cgit v1.2.3-55-g6feb