diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-03 17:11:07 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-03 17:11:07 -0300 |
commit | 0079e0f57ce2bd4dc40b9b7c5831c58764a7938f (patch) | |
tree | fbef733822b5448991097a059afc9c544b7a1bc7 /lzio.h | |
parent | cfff0135868969de015e5cdcbd50ae7ae3ecc92d (diff) | |
download | lua-0079e0f57ce2bd4dc40b9b7c5831c58764a7938f.tar.gz lua-0079e0f57ce2bd4dc40b9b7c5831c58764a7938f.tar.bz2 lua-0079e0f57ce2bd4dc40b9b7c5831c58764a7938f.zip |
core tests whether file is binary
Diffstat (limited to 'lzio.h')
-rw-r--r-- | lzio.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lzio.h,v 1.9 2002/04/29 12:37:41 roberto Exp roberto $ | 2 | ** $Id: lzio.h,v 1.10 2002/06/03 17:46:34 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 | */ |
@@ -26,6 +26,7 @@ typedef struct zio ZIO; | |||
26 | 26 | ||
27 | void luaZ_init (ZIO *z, lua_Getblock getblock, void *ud, const char *name); | 27 | void luaZ_init (ZIO *z, lua_Getblock getblock, void *ud, const char *name); |
28 | size_t luaZ_zread (ZIO* z, void* b, size_t n); /* read next n bytes */ | 28 | size_t luaZ_zread (ZIO* z, void* b, size_t n); /* read next n bytes */ |
29 | int luaZ_lookahead (ZIO *z); | ||
29 | 30 | ||
30 | 31 | ||
31 | /* --------- Private Part ------------------ */ | 32 | /* --------- Private Part ------------------ */ |