diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-08-28 17:34:23 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-08-28 17:34:23 +0200 |
commit | 2597722d7aa1be523058bc8449120d32768f44b3 (patch) | |
tree | 63090b06d0479a237e32d28795d279c511eee25f /pdf/mupdf.h | |
parent | 25552e9f2ec3f17a0ce1cbd8d7818170d132959a (diff) | |
download | mupdf-2597722d7aa1be523058bc8449120d32768f44b3.tar.xz |
Add fz_open_document_with_stream function.
Use a "magic" string for filetype detection: filename or mime-type.
Diffstat (limited to 'pdf/mupdf.h')
-rw-r--r-- | pdf/mupdf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/mupdf.h b/pdf/mupdf.h index 6ebe4437..8e536777 100644 --- a/pdf/mupdf.h +++ b/pdf/mupdf.h @@ -167,7 +167,7 @@ pdf_document *pdf_open_document(fz_context *ctx, const char *filename); fz_open_file_w or fz_open_fd for opening a stream, and fz_close for closing an open stream. */ -pdf_document *pdf_open_document_with_stream(fz_stream *file); +pdf_document *pdf_open_document_with_stream(fz_context *ctx, fz_stream *file); /* pdf_close_document: Closes and frees an opened PDF document. |