From 47f4a39fa39e5f4c8b7ef8fc91d90728c9880220 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 26 Jun 2018 11:18:39 +0200 Subject: Rename pdf_get_annot_contents to pdf_annot_contents. Since the function no longer returns ownership of the string, use the common naming convention. --- include/mupdf/pdf/annot.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') 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. -- cgit v1.2.3