summaryrefslogtreecommitdiff
path: root/source/xps/xps-imp.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-12-28 13:40:21 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-01-09 13:21:40 +0100
commit6933d36755f90e23308a52c0c3b9c6a4423a9e4c (patch)
treed845ac62869d8a09fbf638a2c4bb0953efec1eb7 /source/xps/xps-imp.h
parent7a439812b2226c1e3b203ec603f05b39d159f91e (diff)
downloadmupdf-6933d36755f90e23308a52c0c3b9c6a4423a9e4c.tar.xz
Make fz_parse_xml take a fz_buffer. Make xps_part contain a fz_buffer.
Diffstat (limited to 'source/xps/xps-imp.h')
-rw-r--r--source/xps/xps-imp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/xps/xps-imp.h b/source/xps/xps-imp.h
index 2ba78a50..5db36c5f 100644
--- a/source/xps/xps-imp.h
+++ b/source/xps/xps-imp.h
@@ -54,8 +54,7 @@ typedef struct xps_part_s xps_part;
struct xps_part_s
{
char *name;
- size_t size;
- unsigned char *data;
+ fz_buffer *data;
};
int xps_has_part(fz_context *ctx, xps_document *doc, char *partname);