[Java-gnome-developer] [ java-gnome-Bugs-817005 ] glib.GStringArray does not work
Brought to you by:
afcowie
From: SourceForge.net <no...@so...> - 2003-10-26 13:03:40
|
Bugs item #817005, was opened at 2003-10-03 04:12 Message generated for change (Comment added) made by kuzman You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101522&aid=817005&group_id=1522 Category: other Group: defect >Status: Closed >Resolution: Fixed Priority: 7 Submitted By: Mark Howard (howama) Assigned to: Jeffrey S. Morgan (kuzman) Summary: glib.GStringArray does not work Initial Comment: Look at gnome About boxes for an example. It doesn't crash any more, but it still isn't doing what it should. ---------------------------------------------------------------------- >Comment By: Jeffrey S. Morgan (kuzman) Date: 2003-10-26 08:03 Message: Logged In: YES user_id=90843 GStringArray was an early attempt to provide an easy way to pass arrays of Strings. I have removed this from the bindings and have provided an easier alternative to this issue. You can now pass a String[] as an argument to the native code. The JNI code should use a jobjectArray as its' data type and use the two new methods found in jg_jnu.c to convert to a gchar** and to free up the resources. The new methods are: getStringArray - use to convert a jobjectArray to gchar** freeStringArray - use to free up resources created during getStringArray call. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101522&aid=817005&group_id=1522 |