summaryrefslogtreecommitdiff
path: root/pdf
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-06-18 00:18:28 +0200
committerTor Andersson <tor.andersson@artifex.com>2013-06-18 17:37:13 +0200
commit923ab857eed6cd29b539910bf74be2aa26d71f39 (patch)
tree30693266e5d9cd1eab9ab53e58807f0c33cb762e /pdf
parentf35d1117b7d62c885586d43fc934e296d09b4380 (diff)
downloadmupdf-923ab857eed6cd29b539910bf74be2aa26d71f39.tar.xz
Split pdf.h into subheaders.
Diffstat (limited to 'pdf')
-rw-r--r--pdf/pdf_object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/pdf_object.c b/pdf/pdf_object.c
index ac1609cf..c07f4bef 100644
--- a/pdf/pdf_object.c
+++ b/pdf/pdf_object.c
@@ -49,7 +49,7 @@ struct pdf_obj_s
struct {
int num;
int gen;
- struct pdf_xref_s *xref;
+ pdf_document *xref;
} r;
} u;
};
@@ -311,7 +311,7 @@ int pdf_to_gen(pdf_obj *obj)
return obj->u.r.gen;
}
-void *pdf_get_indirect_document(pdf_obj *obj)
+pdf_document *pdf_get_indirect_document(pdf_obj *obj)
{
if (!obj || obj->kind != PDF_INDIRECT)
return NULL;