|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
-** $Id: lzio.h,v 1.11 2002/06/03 20:11:07 roberto Exp roberto $
|
|
|
+** $Id: lzio.h,v 1.12 2002/06/06 12:40:22 roberto Exp roberto $
|
|
|
** Buffered streams
|
|
|
** See Copyright Notice in lua.h
|
|
|
*/
|
|
@@ -11,9 +11,6 @@
|
|
|
#include "lua.h"
|
|
|
|
|
|
|
|
|
-/* For Lua only */
|
|
|
-#define zread luaZ_zread
|
|
|
-
|
|
|
#define EOZ (-1) /* end of stream */
|
|
|
|
|
|
typedef struct zio ZIO;
|
|
@@ -25,7 +22,7 @@ typedef struct zio ZIO;
|
|
|
#define zname(z) ((z)->name)
|
|
|
|
|
|
void luaZ_init (ZIO *z, lua_Chunkreader reader, void *data, const char *name);
|
|
|
-size_t luaZ_zread (ZIO* z, void* b, size_t n); /* read next n bytes */
|
|
|
+size_t luaZ_read (ZIO* z, void* b, size_t n); /* read next n bytes */
|
|
|
int luaZ_lookahead (ZIO *z);
|
|
|
|
|
|
|