summaryrefslogtreecommitdiff
path: root/platform/java/mupdf_native.h
diff options
context:
space:
mode:
authorFred Ross-Perry <fred.ross-perry@artifex.com>2017-11-13 17:04:06 -0800
committerTor Andersson <tor.andersson@artifex.com>2017-11-22 23:09:51 +0100
commited28a166dace50d1a555689b9d5353e62a1b1e69 (patch)
tree67dca9996a83d5939b7e3e4a91da8685a4764291 /platform/java/mupdf_native.h
parent52b6e193ba376f46dec2ae3b8c316f2e08fefc13 (diff)
downloadmupdf-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.h16
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
*/