diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-05 15:45:02 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-05 15:45:02 -0300 |
commit | 0b3d380f9fb79cc5a35ce34eecf56aea0d7fb9f9 (patch) | |
tree | a0aa3a5dc177fe0984e305aae894d708f05b078f /lzio.h | |
parent | 4e23699aa647fd9dc04933bf5582217ca594c8ce (diff) | |
download | lua-0b3d380f9fb79cc5a35ce34eecf56aea0d7fb9f9.tar.gz lua-0b3d380f9fb79cc5a35ce34eecf56aea0d7fb9f9.tar.bz2 lua-0b3d380f9fb79cc5a35ce34eecf56aea0d7fb9f9.zip |
internal names
Diffstat (limited to 'lzio.h')
-rw-r--r-- | lzio.h | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 | ||
19 | typedef struct zio ZIO; | 16 | typedef 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 | ||
27 | void luaZ_init (ZIO *z, lua_Chunkreader reader, void *data, const char *name); | 24 | void luaZ_init (ZIO *z, lua_Chunkreader reader, void *data, const char *name); |
28 | size_t luaZ_zread (ZIO* z, void* b, size_t n); /* read next n bytes */ | 25 | size_t luaZ_read (ZIO* z, void* b, size_t n); /* read next n bytes */ |
29 | int luaZ_lookahead (ZIO *z); | 26 | int luaZ_lookahead (ZIO *z); |
30 | 27 | ||
31 | 28 | ||