diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-04-12 11:22:00 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-04-12 11:51:55 +0100 |
commit | c702080ae741f08d04788fd415b2a870c6e269e7 (patch) | |
tree | b151e65d68823601be65ab6c59f61fb64a61726b /include | |
parent | 80e4786f5a0673c37821ba373e78c4fb58274314 (diff) | |
download | mupdf-c702080ae741f08d04788fd415b2a870c6e269e7.tar.xz |
Fix PDF annotations not appearing after creation.
Caused by a mismatch in the annotation creation/loading code.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/pdf/annot.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mupdf/pdf/annot.h b/include/mupdf/pdf/annot.h index e25ec5db..7daad6a0 100644 --- a/include/mupdf/pdf/annot.h +++ b/include/mupdf/pdf/annot.h @@ -137,4 +137,9 @@ fz_annot_type pdf_annot_obj_type(fz_context *ctx, pdf_obj *obj); */ pdf_annot *pdf_poll_changed_annot(fz_context *ctx, pdf_document *idoc, pdf_page *page); +/* + pdf_new_annot: Internal function for creating a new pdf annotation. +*/ +pdf_annot *pdf_new_annot(fz_context *ctx, pdf_page *page); + #endif |