From: Eli Zaretskii Date: Sat, 19 Aug 2023 11:29:25 +0000 (+0300) Subject: ; * src/androidterm.c (android_text_to_string): Fix commentary. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a85f31c4a4d37f5d39a99e79cc32be172d49603f;p=emacs.git ; * src/androidterm.c (android_text_to_string): Fix commentary. --- diff --git a/src/androidterm.c b/src/androidterm.c index f74463f88cd..473bea76ef5 100644 --- a/src/androidterm.c +++ b/src/androidterm.c @@ -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