aboutsummaryrefslogtreecommitdiff
path: root/lzio.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-20 14:36:32 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-20 14:36:32 -0200
commit8b88ab07f7cfc216407a88d75ad8f0546224c8d7 (patch)
tree71acdcf4416d114087419863f45186270d5c8d15 /lzio.h
parent2779ceeb125e603ea667171d9362e0b766b7abae (diff)
downloadlua-8b88ab07f7cfc216407a88d75ad8f0546224c8d7.tar.gz
lua-8b88ab07f7cfc216407a88d75ad8f0546224c8d7.tar.bz2
lua-8b88ab07f7cfc216407a88d75ad8f0546224c8d7.zip
more controled use of `sprintf'
Diffstat (limited to 'lzio.h')
-rw-r--r--lzio.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lzio.h b/lzio.h
index bcecd0d9..ea838ad0 100644
--- a/lzio.h
+++ b/lzio.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lzio.h,v 1.5 1999/08/16 20:52:00 roberto Exp roberto $ 2** $Id: lzio.h,v 1.6 2000/05/24 13:54: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*/
@@ -33,9 +33,12 @@ size_t zread (ZIO* z, void* b, size_t n); /* read next n bytes */
33#define zname(z) ((z)->name) 33#define zname(z) ((z)->name)
34 34
35 35
36
36/* --------- Private Part ------------------ */ 37/* --------- Private Part ------------------ */
37 38
39#ifndef ZBSIZE
38#define ZBSIZE 256 /* buffer size */ 40#define ZBSIZE 256 /* buffer size */
41#endif
39 42
40struct zio { 43struct zio {
41 size_t n; /* bytes still unread */ 44 size_t n; /* bytes still unread */