libgcj.spec

Jeff Sturm jsturm@one-point.com
Mon Mar 26 11:56:00 GMT 2001


On 2001年3月26日, Rajesh Kadikar wrote:
> char *cstring = (char *) JvGetStringChars(sam->javaString); 

You can't do that. jchar and char are incompatible types: the
former is Unicode (UCS-2).
Use JvGetStringUTFRegion instead. Note that you must allocate storage for
the (char *) argument and supply a null terminator.
Jeff


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /