summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mupdf/fitz/stream.h')
-rw-r--r--include/mupdf/fitz/stream.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/mupdf/fitz/stream.h b/include/mupdf/fitz/stream.h
index c8ba88b7..f9cf755c 100644
--- a/include/mupdf/fitz/stream.h
+++ b/include/mupdf/fitz/stream.h
@@ -101,8 +101,6 @@ fz_stream *fz_open_leecher(fz_context *ctx, fz_stream *chain, fz_buffer *buf);
Drops a reference for the stream. Once no references remain
the stream will be closed, as will any file descriptor the
stream is using.
-
- Does not throw exceptions.
*/
void fz_drop_stream(fz_context *ctx, fz_stream *stm);
@@ -305,8 +303,8 @@ fz_stream *fz_keep_stream(fz_context *ctx, fz_stream *stm);
/*
fz_read_best: Attempt to read a stream into a buffer. If truncated
- is NULL behaves as fz_read_all, otherwise does not throw exceptions
- in the case of failure, but instead sets a truncated flag.
+ is NULL behaves as fz_read_all, sets a truncated flag in case of
+ error.
stm: The stream to read from.