summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/annotation.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mupdf/fitz/annotation.h')
-rw-r--r--include/mupdf/fitz/annotation.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mupdf/fitz/annotation.h b/include/mupdf/fitz/annotation.h
index 13f955e4..122777de 100644
--- a/include/mupdf/fitz/annotation.h
+++ b/include/mupdf/fitz/annotation.h
@@ -38,27 +38,27 @@ typedef enum
/*
fz_get_annot_type: return the type of an annotation
*/
-fz_annot_type fz_get_annot_type(fz_annot *annot);
+fz_annot_type fz_get_annot_type(fz_context *ctx, fz_annot *annot);
/*
fz_first_annot: Return a pointer to the first annotation on a page.
Does not throw exceptions.
*/
-fz_annot *fz_first_annot(fz_document *doc, fz_page *page);
+fz_annot *fz_first_annot(fz_context *ctx, fz_page *page);
/*
fz_next_annot: Return a pointer to the next annotation on a page.
Does not throw exceptions.
*/
-fz_annot *fz_next_annot(fz_document *doc, fz_annot *annot);
+fz_annot *fz_next_annot(fz_context *ctx, fz_page *page, fz_annot *annot);
/*
fz_bound_annot: Return the bounding rectangle of the annotation.
Does not throw exceptions.
*/
-fz_rect *fz_bound_annot(fz_document *doc, fz_annot *annot, fz_rect *rect);
+fz_rect *fz_bound_annot(fz_context *ctx, fz_page *page, fz_annot *annot, fz_rect *rect);
#endif