This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch for Review: JvGetStringUTFChars CNI Doc Update
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: tromey at redhat dot com, gnustuff at thisiscool dot com
- Cc: GCJ Patches <java-patches at gcc dot gnu dot org>, Bryce McKinlay <bryce at mckinlay dot net dot nz>, Andrew Haley <aph at redhat dot com>
- Date: Wed, 13 Aug 2003 02:54:51 -0500
- Subject: Patch for Review: JvGetStringUTFChars CNI Doc Update
- Reply-to: gnustuff at thisiscool dot com
Hi Tom,
Here is the documentation update for this patch:
http://gcc.gnu.org/ml/java-patches/2003-q3/msg00371.html
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/
ChangeLog
2003-08-13 Mohan Embar <gnustuff@thisiscool.com>
* gcj.texi (Strings): Document JvGetStringUTFChars
Index: gcj.texi
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/java/gcj.texi,v
retrieving revision 1.54
diff -u -2 -r1.54 gcj.texi
--- gcj.texi 8 Jul 2003 21:25:54 -0000 1.54
+++ gcj.texi 12 Aug 2003 02:24:22 -0000
@@ -1678,4 +1678,10 @@
@end deftypefun
+@deftypefun jsize JvGetStringUTFChars (jstring @var{str}, char* @var{buf})
+Puts the UTF-8 encoding of the entire @code{String} @var{str} into
+the buffer @code{buf}, which is null terminated. The buffer must be large
+enough to hold the entire string (cf. @code{JvGetStringUTFLength}) plus the
+trailing null terminator.
+@end deftypefun
@node Mixing with C++