summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-object.c
diff options
context:
space:
mode:
authorPaul Gardiner <paulg.artifex@glidos.net>2013-08-13 13:44:40 +0100
committerPaul Gardiner <paulg.artifex@glidos.net>2013-08-13 16:36:18 +0100
commit00fbe2446c7ca2c291b785da99f6e0b293574001 (patch)
tree9e0e2c9e28c418abfb602368483a80128fb3ec3e /source/pdf/pdf-object.c
parent7b11a823f9e35c971cc4f1719a6f9c3947a2ba47 (diff)
downloadmupdf-00fbe2446c7ca2c291b785da99f6e0b293574001.tar.xz
Signature creation
Diffstat (limited to 'source/pdf/pdf-object.c')
-rw-r--r--source/pdf/pdf-object.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/pdf/pdf-object.c b/source/pdf/pdf-object.c
index 708794ee..704a71df 100644
--- a/source/pdf/pdf-object.c
+++ b/source/pdf/pdf-object.c
@@ -1373,6 +1373,11 @@ pdf_set_obj_parent(pdf_obj *obj, int num)
}
}
+int pdf_obj_parent_num(pdf_obj *obj)
+{
+ return obj->parent_num;
+}
+
pdf_obj *pdf_new_obj_from_str(pdf_document *doc, const char *src)
{
pdf_obj *result;
@@ -1679,7 +1684,7 @@ static void fmt_obj(struct fmt *fmt, pdf_obj *obj)
fmt_puts(fmt, "<unknown object>");
}
-static int
+int
pdf_sprint_obj(char *s, int n, pdf_obj *obj, int tight)
{
struct fmt fmt;