>>>>> "Lillian" == Lillian Angel <[EMAIL PROTECTED]> writes:

Lillian> drawString(AttributedCharacterIterator...) iterates through the
Lillian> characters and stores the non-newline chars in an array. Here Roman
Lillian> suggested that I make some changes and pass the char[] to the native
Lillian> drawString function because allocating a new String is not ideal.

Lillian> I tried doing this, but that native function calls getStringUTFChars
Lillian> (which requires a jstring). Removing the call to getStringUTFChars
Lillian> obviously does not work... 

Just FYI -- JNI has a separate entry point for getting a C 'jchar *'
given a java 'char[]'.

Tom



_______________________________________________
Classpath-patches mailing list
Classpath-patches@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to