From e54d4225e2d16d2b5cc928294009fce0a5b30718 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 11 May 2012 14:51:11 +0200 Subject: 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. --- pdf/mupdf.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pdf/mupdf.h') 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 -- cgit v1.2.3