diff options
author | Fred Ross-Perry <fred.ross-perry@artifex.com> | 2017-11-13 17:04:06 -0800 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-11-22 23:09:51 +0100 |
commit | ed28a166dace50d1a555689b9d5353e62a1b1e69 (patch) | |
tree | 67dca9996a83d5939b7e3e4a91da8685a4764291 /platform/java/mupdf_native.h | |
parent | 52b6e193ba376f46dec2ae3b8c316f2e08fefc13 (diff) | |
download | mupdf-ed28a166dace50d1a555689b9d5353e62a1b1e69.tar.xz |
jni/js: Use correct text encoding in annotation author and contents.
Also clarify that a copy of author/contents is returned, and that
the caller must free them.
Diffstat (limited to 'platform/java/mupdf_native.h')
-rw-r--r-- | platform/java/mupdf_native.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/platform/java/mupdf_native.h b/platform/java/mupdf_native.h index 2a139e02..dfc62d85 100644 --- a/platform/java/mupdf_native.h +++ b/platform/java/mupdf_native.h @@ -1506,6 +1506,22 @@ JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_setInteriorColo /* * Class: com_artifex_mupdf_fitz_PDFAnnotation + * Method: getAuthor + * Signature: ()Ljava/lang/String; + */ +JNIEXPORT jstring JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_getAuthor + (JNIEnv *, jobject); + +/* + * Class: com_artifex_mupdf_fitz_PDFAnnotation + * Method: setAuthor + * Signature: (Ljava/lang/String;)V + */ +JNIEXPORT void JNICALL Java_com_artifex_mupdf_fitz_PDFAnnotation_setAuthor + (JNIEnv *, jobject, jstring); + +/* + * Class: com_artifex_mupdf_fitz_PDFAnnotation * Method: getLineEndingStyles * Signature: ()[I */ |