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. --- source/tools/murun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/tools/murun.c') diff --git a/source/tools/murun.c b/source/tools/murun.c index f7a890b2..10d76e8b 100644 --- a/source/tools/murun.c +++ b/source/tools/murun.c @@ -4086,7 +4086,7 @@ static void ffi_PDFAnnotation_getContents(js_State *J) const char *contents = NULL; fz_try(ctx) - contents = pdf_get_annot_contents(ctx, annot); + contents = pdf_annot_contents(ctx, annot); fz_catch(ctx) rethrow(J); @@ -4378,7 +4378,7 @@ static void ffi_PDFAnnotation_getAuthor(js_State *J) const char *author = NULL; fz_try(ctx) - author = pdf_get_annot_author(ctx, annot); + author = pdf_annot_author(ctx, annot); fz_catch(ctx) rethrow(J); -- cgit v1.2.3