aboutsummaryrefslogtreecommitdiff
path: root/lzio.h
diff options
context:
space:
mode:
Diffstat (limited to 'lzio.h')
-rw-r--r--lzio.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lzio.h b/lzio.h
index 437ac1d2..283fdc38 100644
--- a/lzio.h
+++ b/lzio.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lzio.h,v 1.7 2000/10/20 16:36:32 roberto Exp roberto $ 2** $Id: lzio.h,v 1.8 2001/03/26 14:31:49 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*/
@@ -14,7 +14,6 @@
14 14
15/* For Lua only */ 15/* For Lua only */
16#define zFopen luaZ_Fopen 16#define zFopen luaZ_Fopen
17#define zsopen luaZ_sopen
18#define zmopen luaZ_mopen 17#define zmopen luaZ_mopen
19#define zread luaZ_read 18#define zread luaZ_read
20 19
@@ -23,7 +22,6 @@
23typedef struct zio ZIO; 22typedef struct zio ZIO;
24 23
25ZIO* zFopen (ZIO* z, FILE* f, const char *name); /* open FILEs */ 24ZIO* zFopen (ZIO* z, FILE* f, const char *name); /* open FILEs */
26ZIO* zsopen (ZIO* z, const char* s, const char *name); /* string */
27ZIO* zmopen (ZIO* z, const char* b, size_t size, const char *name); /* memory */ 25ZIO* zmopen (ZIO* z, const char* b, size_t size, const char *name); /* memory */
28 26
29size_t zread (ZIO* z, void* b, size_t n); /* read next n bytes */ 27size_t zread (ZIO* z, void* b, size_t n); /* read next n bytes */