summaryrefslogtreecommitdiff
path: root/pdf/mupdf-internal.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-08-28 17:34:23 +0200
committerTor Andersson <tor.andersson@artifex.com>2012-08-28 17:34:23 +0200
commit2597722d7aa1be523058bc8449120d32768f44b3 (patch)
tree63090b06d0479a237e32d28795d279c511eee25f /pdf/mupdf-internal.h
parent25552e9f2ec3f17a0ce1cbd8d7818170d132959a (diff)
downloadmupdf-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-internal.h')
-rw-r--r--pdf/mupdf-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/mupdf-internal.h b/pdf/mupdf-internal.h
index efd9e109..1aca4aa2 100644
--- a/pdf/mupdf-internal.h
+++ b/pdf/mupdf-internal.h
@@ -206,7 +206,7 @@ struct pdf_document_s
};
pdf_document *pdf_open_document_no_run(fz_context *ctx, const char *filename);
-pdf_document *pdf_open_document_no_run_with_stream(fz_stream *file);
+pdf_document *pdf_open_document_no_run_with_stream(fz_context *ctx, fz_stream *file);
void pdf_cache_object(pdf_document *doc, int num, int gen);