Patch for Review: JvGetStringUTF and JvTempCString

Mohan Embar gnustuff@thisiscool.com
Sun Aug 10 02:52:00 GMT 2003


Hi Tom,

>Mohan> 	* gcj/cni.h: Added function JvGetStringUTF (puts and null
>Mohan> 	terminates a jstring into a character buffer) and class
>Mohan> 	JvTempCString (helper class for getting a temporary C string
>Mohan> 	from a jstring)
>
>Sorry for yet another go around on this...
>
>I'm not ready to put this class in cni.h yet.  How about jvm.h? 

I coded this all up, but jvm.h is internal to libgcj and doesn't
end up in the final installation :(. This would mean that this helper
class wouldn't be usable anywhere other than within libgcj.

What about gcj/javaprims.h?

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/






More information about the Java-patches mailing list