diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-06-26 11:18:39 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-07-04 17:23:21 +0200 |
commit | 47f4a39fa39e5f4c8b7ef8fc91d90728c9880220 (patch) | |
tree | bc3d5b4c350690350c1637d29350005dd15dd529 /source/tools | |
parent | 2b9d084882cc04b79e194368e8d1393f55d36d61 (diff) | |
download | mupdf-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')
-rw-r--r-- | source/tools/murun.c | 4 |
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); |