summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-xref.c
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 /source/pdf/pdf-xref.c
parenta59f0649377db57cf7874cfd9eb6943a9f9b58d5 (diff)
downloadmupdf-ed08eb1f0e4d3fd49181343f5cd3d63f455cbe51.tar.xz
Rename pdf_close_document to pdf_drop_document.
Diffstat (limited to 'source/pdf/pdf-xref.c')
-rw-r--r--source/pdf/pdf-xref.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/pdf/pdf-xref.c b/source/pdf/pdf-xref.c
index 02e68530..4456c741 100644
--- a/source/pdf/pdf-xref.c
+++ b/source/pdf/pdf-xref.c
@@ -1573,7 +1573,7 @@ pdf_init_document(fz_context *ctx, pdf_document *doc)
fz_catch(ctx) { }
}
-void
+static void
pdf_close_document(fz_context *ctx, pdf_document *doc)
{
int i;
@@ -1632,6 +1632,12 @@ pdf_close_document(fz_context *ctx, pdf_document *doc)
}
void
+pdf_drop_document(fz_context *ctx, pdf_document *doc)
+{
+ fz_drop_document(ctx, &doc->super);
+}
+
+void
pdf_print_xref(fz_context *ctx, pdf_document *doc)
{
int i;