aboutsummaryrefslogtreecommitdiff
path: root/lzio.h
diff options
context:
space:
mode:
Diffstat (limited to 'lzio.h')
-rw-r--r--lzio.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/lzio.h b/lzio.h
index a0dfa091..e7807ec3 100644
--- a/lzio.h
+++ b/lzio.h
@@ -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
19typedef struct zio ZIO; 16typedef 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
27void luaZ_init (ZIO *z, lua_Chunkreader reader, void *data, const char *name); 24void luaZ_init (ZIO *z, lua_Chunkreader reader, void *data, const char *name);
28size_t luaZ_zread (ZIO* z, void* b, size_t n); /* read next n bytes */ 25size_t luaZ_read (ZIO* z, void* b, size_t n); /* read next n bytes */
29int luaZ_lookahead (ZIO *z); 26int luaZ_lookahead (ZIO *z);
30 27
31 28