summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-interpret.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2013-06-27 18:24:07 +0100
committerRobin Watts <robin.watts@artifex.com>2013-06-27 20:05:18 +0100
commit9df3a0615a1fa7745160c099e1ac7cd4dfcbc86e (patch)
tree3aac206ddce6e4c50229c9e4e79e3429118035aa /source/pdf/pdf-interpret.c
parent260e54a956c54058051ce6ff31b36ad0ae1b60aa (diff)
downloadmupdf-9df3a0615a1fa7745160c099e1ac7cd4dfcbc86e.tar.xz
Move to using a flags bit rather than "Dirty" dict entries.
Correct the naming scheme for pdf_obj_xxx functions.
Diffstat (limited to 'source/pdf/pdf-interpret.c')
-rw-r--r--source/pdf/pdf-interpret.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/pdf/pdf-interpret.c b/source/pdf/pdf-interpret.c
index aed02317..cec0d1e5 100644
--- a/source/pdf/pdf-interpret.c
+++ b/source/pdf/pdf-interpret.c
@@ -277,7 +277,7 @@ pdf_is_hidden_ocg(pdf_obj *ocg, pdf_csi *csi, pdf_obj *rdb)
combine = 0;
}
- if (pdf_obj_mark(ocg))
+ if (pdf_mark_obj(ocg))
return 0; /* Should never happen */
fz_try(ctx)
{
@@ -307,7 +307,7 @@ pdf_is_hidden_ocg(pdf_obj *ocg, pdf_csi *csi, pdf_obj *rdb)
}
fz_always(ctx)
{
- pdf_obj_unmark(ocg);
+ pdf_unmark_obj(ocg);
}
fz_catch(ctx)
{
@@ -1505,7 +1505,7 @@ pdf_run_xobject(pdf_csi *csi, pdf_obj *resources, pdf_xobject *xobj, const fz_ma
fz_matrix gparent_save_ctm;
/* Avoid infinite recursion */
- if (xobj == NULL || pdf_obj_mark(xobj->me))
+ if (xobj == NULL || pdf_mark_obj(xobj->me))
return;
fz_var(gstate);
@@ -1574,7 +1574,7 @@ pdf_run_xobject(pdf_csi *csi, pdf_obj *resources, pdf_xobject *xobj, const fz_ma
pdf_grestore(csi);
}
- pdf_obj_unmark(xobj->me);
+ pdf_unmark_obj(xobj->me);
/* wrap up transparency stacks */
if (xobj->transparency)