summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-03-01 15:30:07 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-03-01 21:57:41 +0100
commited08eb1f0e4d3fd49181343f5cd3d63f455cbe51 (patch)
treec8dffaaf86a2dcd732ba884e4580c65a65474af6 /include
parenta59f0649377db57cf7874cfd9eb6943a9f9b58d5 (diff)
downloadmupdf-ed08eb1f0e4d3fd49181343f5cd3d63f455cbe51.tar.xz
Rename pdf_close_document to pdf_drop_document.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/pdf/document.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mupdf/pdf/document.h b/include/mupdf/pdf/document.h
index de7df553..5051349f 100644
--- a/include/mupdf/pdf/document.h
+++ b/include/mupdf/pdf/document.h
@@ -87,14 +87,14 @@ pdf_document *pdf_open_document(fz_context *ctx, const char *filename);
pdf_document *pdf_open_document_with_stream(fz_context *ctx, fz_stream *file);
/*
- pdf_close_document: Closes and frees an opened PDF document.
+ pdf_drop_document: Closes and frees an opened PDF document.
The resource store in the context associated with pdf_document
is emptied.
Does not throw exceptions.
*/
-void pdf_close_document(fz_context *ctx, pdf_document *doc);
+void pdf_drop_document(fz_context *ctx, pdf_document *doc);
/*
pdf_specific: down-cast an fz_document to a pdf_document.