summaryrefslogtreecommitdiff
path: root/source/xps/xps-imp.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-12-07 15:15:26 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-12-13 15:01:05 +0100
commiteacd070190d0c7a7fbc905a2a292f38e282b5a82 (patch)
tree57971ec5acec6b5867cc313c3d2f6f6f619e35fe /source/xps/xps-imp.h
parentfa9cd085533f68367c299e058ab3fbb7ad8a2dc6 (diff)
downloadmupdf-eacd070190d0c7a7fbc905a2a292f38e282b5a82.tar.xz
Parse XML using pool allocator.
This needs adding a fz_xml_doc type to hold the pool.
Diffstat (limited to 'source/xps/xps-imp.h')
-rw-r--r--source/xps/xps-imp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/xps/xps-imp.h b/source/xps/xps-imp.h
index 7eff5670..1d2baaf0 100644
--- a/source/xps/xps-imp.h
+++ b/source/xps/xps-imp.h
@@ -69,7 +69,7 @@ struct xps_page_s
fz_page super;
xps_document *doc;
xps_fixpage *fix;
- fz_xml *root;
+ fz_xml_doc *xml;
};
struct xps_target_s
@@ -126,7 +126,7 @@ struct xps_resource_s
{
char *name;
char *base_uri; /* only used in the head nodes */
- fz_xml *base_xml; /* only used in the head nodes, to free the xml document */
+ fz_xml_doc *base_xml; /* only used in the head nodes, to free the xml document */
fz_xml *data;
xps_resource *next;
xps_resource *parent; /* up to the previous dict in the stack */