summaryrefslogtreecommitdiff
path: root/source/tools/murun.c
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 /source/tools/murun.c
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 'source/tools/murun.c')
-rw-r--r--source/tools/murun.c4
1 files changed, 2 insertions, 2 deletions
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);