summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-06-26 11:18:39 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-07-04 17:23:21 +0200
commit47f4a39fa39e5f4c8b7ef8fc91d90728c9880220 (patch)
treebc3d5b4c350690350c1637d29350005dd15dd529 /include
parent2b9d084882cc04b79e194368e8d1393f55d36d61 (diff)
downloadmupdf-47f4a39fa39e5f4c8b7ef8fc91d90728c9880220.tar.xz
Rename pdf_get_annot_contents to pdf_annot_contents.
Since the function no longer returns ownership of the string, use the common naming convention.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/pdf/annot.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mupdf/pdf/annot.h b/include/mupdf/pdf/annot.h
index 869678c0..9ba30d1b 100644
--- a/include/mupdf/pdf/annot.h
+++ b/include/mupdf/pdf/annot.h
@@ -220,9 +220,9 @@ void pdf_set_annot_vertex(fz_context *ctx, pdf_annot *annot, int i, fz_point p);
void pdf_set_text_annot_position(fz_context *ctx, pdf_annot *annot, fz_point pt);
/*
- pdf_get_annot_contents: return the contents of an annotation.
+ pdf_annot_contents: return the contents of an annotation.
*/
-const char *pdf_get_annot_contents(fz_context *ctx, pdf_annot *annot);
+const char *pdf_annot_contents(fz_context *ctx, pdf_annot *annot);
/*
pdf_set_annot_contents: set the contents of an annotation.
@@ -230,9 +230,9 @@ const char *pdf_get_annot_contents(fz_context *ctx, pdf_annot *annot);
void pdf_set_annot_contents(fz_context *ctx, pdf_annot *annot, const char *text);
/*
- pdf_get_annot_author: return the author of an annotation.
+ pdf_annot_author: return the author of an annotation.
*/
-const char *pdf_get_annot_author(fz_context *ctx, pdf_annot *annot);
+const char *pdf_annot_author(fz_context *ctx, pdf_annot *annot);
/*
pdf_set_annot_author: set the author of an annotation.