diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-05-11 14:51:11 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-05-11 14:51:11 +0200 |
commit | e54d4225e2d16d2b5cc928294009fce0a5b30718 (patch) | |
tree | 1732eb253ecbcd8e72e5d13fc3062944a57d9627 /pdf/mupdf.h | |
parent | 314c9ecaaba711741ecc5bb3e3e1e62655cee8c4 (diff) | |
download | mupdf-e54d4225e2d16d2b5cc928294009fce0a5b30718.tar.xz |
Split part of fz_document interface for pdf_document into separate file.
Make a separate constructor function that does not link in the
interpreter, so we can save space in the mubusy binary by not
including the font and cmap resources.
Diffstat (limited to 'pdf/mupdf.h')
-rw-r--r-- | pdf/mupdf.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pdf/mupdf.h b/pdf/mupdf.h index f02d1828..762d1bc5 100644 --- a/pdf/mupdf.h +++ b/pdf/mupdf.h @@ -217,4 +217,9 @@ void pdf_run_page(pdf_document *doc, pdf_page *page, fz_device *dev, fz_matrix c void pdf_run_page_with_usage(pdf_document *doc, pdf_page *page, fz_device *dev, fz_matrix ctm, char *event, fz_cookie *cookie); +/* + Metadata interface. +*/ +int pdf_meta(pdf_document *doc, int key, void *ptr, int size); + #endif |