summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-01-29 17:16:41 +0100
committerTor Andersson <tor.andersson@artifex.com>2018-01-31 12:09:42 +0100
commit87e2b6e20f5824d09097c9dfb2c5b1b5cddb1194 (patch)
tree232d5b528254c585332a904ef0df886dd0896f2c /include
parent99b07a5bc43bd20493c249314aa7f1ef3f38665d (diff)
downloadmupdf-87e2b6e20f5824d09097c9dfb2c5b1b5cddb1194.tar.xz
Add pdf_debug_obj function to quickly print objects from gdb command line.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/pdf/object.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mupdf/pdf/object.h b/include/mupdf/pdf/object.h
index 3875e2c9..cd9994dd 100644
--- a/include/mupdf/pdf/object.h
+++ b/include/mupdf/pdf/object.h
@@ -163,6 +163,8 @@ int pdf_sprint_encrypted_obj(fz_context *ctx, char *s, int n, pdf_obj *obj, int
int pdf_print_obj(fz_context *ctx, fz_output *out, pdf_obj *obj, int tight);
int pdf_print_encrypted_obj(fz_context *ctx, fz_output *out, pdf_obj *obj, int tight, pdf_crypt *crypt, int num, int gen);
+void pdf_debug_obj(fz_context *ctx, pdf_obj *obj);
+
char *pdf_to_utf8(fz_context *ctx, pdf_obj *src);
char *pdf_load_stream_as_utf8(fz_context *ctx, pdf_obj *src);
char *pdf_load_stream_or_string_as_utf8(fz_context *ctx, pdf_obj *src);