]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/androidterm.c (android_text_to_string): Fix commentary.
authorEli Zaretskii <eliz@gnu.org>
Sat, 19 Aug 2023 11:29:25 +0000 (14:29 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 19 Aug 2023 11:29:25 +0000 (14:29 +0300)
src/androidterm.c

index f74463f88cd30757fb78b8139b7d92e8acc3d2eb..473bea76ef5d9d34b942361f77ee21f288fcd476 100644 (file)
@@ -4869,17 +4869,17 @@ android_perform_conversion_query (void *data)
   context->success = true;
 }
 
-/* Convert a string BUFFERS containing N characters in Emacs's
-   internal multibyte encoding to a Java string utilizing the
-   specified JNI environment.
+/* Convert a string in BUFFER, containing N characters in Emacs's
+   internal multibyte encoding, to a Java string utilizing the
+   specified JNI environment ENV.
 
-   If N is equal to BYTES, then BUFFER is a single byte buffer.
-   Otherwise, BUFFER is a multibyte buffer.
+   If N is equal to BYTES, then BUFFER holds unibyte or plain-ASCII
+   characters.  Otherwise, BUFFER holds multibyte characters.
 
    Make sure N and BYTES are absolutely correct, or you are asking for
    trouble.
 
-   Value is the string upon success, NULL otherwise.  Any exceptions
+   Value is a jstring upon success, NULL otherwise.  Any exceptions
    generated are not cleared.  */
 
 static jstring