summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/document.h
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2015-09-10 09:58:03 -0700
committerMichael Vrhel <michael.vrhel@artifex.com>2015-09-10 09:58:03 -0700
commit3af324c153f68455c82e9be4ac8bce67315f8fd8 (patch)
treecba3358c0384e7598e51c51d2629eed3ad8478de /include/mupdf/fitz/document.h
parent5fb01f65ad88fcac24444dc4bb57f5ed8fee67b5 (diff)
downloadmupdf-3af324c153f68455c82e9be4ac8bce67315f8fd8.tar.xz
Add missing prototype for fz_keep_page
Diffstat (limited to 'include/mupdf/fitz/document.h')
-rw-r--r--include/mupdf/fitz/document.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mupdf/fitz/document.h b/include/mupdf/fitz/document.h
index efd51332..1d02a9a0 100644
--- a/include/mupdf/fitz/document.h
+++ b/include/mupdf/fitz/document.h
@@ -300,6 +300,13 @@ void fz_run_page_contents(fz_context *ctx, fz_page *page, fz_device *dev, const
void fz_run_annot(fz_context *ctx, fz_page *page, fz_annot *annot, fz_device *dev, const fz_matrix *transform, fz_cookie *cookie);
/*
+ fz_keep_page: Keep a reference to a loaded page.
+
+ Does not throw exceptions.
+*/
+fz_page *fz_keep_page(fz_context *ctx, fz_page *page);
+
+/*
fz_drop_page: Free a loaded page.
Does not throw exceptions.