diff options
author | Tor Andersson <tor@ghostscript.com> | 2008-08-15 16:57:09 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2008-08-15 16:57:09 +0200 |
commit | a27aa33c254a0054af72147a5ce05d106df15251 (patch) | |
tree | 42b0a2756bd13b9fac97915346c122550ff74427 /include | |
parent | bdcfc98006f17dbe748665d8e98006ab79250d4f (diff) | |
download | mupdf-a27aa33c254a0054af72147a5ce05d106df15251.tar.xz |
Simplify (and possibly reduce performance) of fz_readall().
Diffstat (limited to 'include')
-rw-r--r-- | include/fitz/stm_stream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fitz/stm_stream.h b/include/fitz/stm_stream.h index 62eb8515..4f7463bb 100644 --- a/include/fitz/stm_stream.h +++ b/include/fitz/stm_stream.h @@ -58,7 +58,7 @@ fz_error * fz_rseek(fz_stream *stm, int offset, int whence); fz_error * fz_readimp(fz_stream *stm); fz_error * fz_read(int *np, fz_stream *stm, unsigned char *buf, int len); -fz_error * fz_readall(fz_buffer **bufp, fz_stream *stm); +fz_error * fz_readall(fz_buffer **bufp, fz_stream *stm, int sizehint); fz_error * fz_readline(fz_stream *stm, char *buf, int max); /* |