This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: FYI: bug fix in gcj.texi
- From: Tom Tromey <tromey at redhat dot com>
- To: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Cc: GCJ-patches <java-patches at gcc dot gnu dot org>
- Date: 30 Jan 2007 10:45:48 -0700
- Subject: Patch: FYI: bug fix in gcj.texi
- Reply-to: tromey at redhat dot com
I'm checking this in.
gcj.texi mis-documents JvNewString.
Fixed as appended.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* gcj.texi (Strings): Fix documentation for JvNewString.
Index: gcj.texi
===================================================================
--- gcj.texi (revision 121354)
+++ gcj.texi (working copy)
@@ -2083,9 +2083,9 @@
The names and interfaces are analogous to those of @acronym{JNI}.
-@deftypefun jstring JvNewString (const char* @var{chars}, jsize @var{len})
-Returns a Java @code{String} object with characters from the C string
-@var{chars} up to the index @var{len} in that array.
+@deftypefun jstring JvNewString (const jchar* @var{chars}, jsize @var{len})
+Returns a Java @code{String} object with characters from the array of
+Unicode characters @var{chars} up to the index @var{len} in that array.
@end deftypefun
@deftypefun jstring JvNewStringLatin1 (const char* @var{bytes}, jsize @var{len})