[Gtk-sharp-list] GStreamer bindings

Mike Kestner mkestner@ximian.com
Thu, 29 Apr 2004 15:42:06 -0500


On Wed, 2004-04-28 at 09:36, Owen Fraser-Green wrote:

> The first, adds a base case to a recursive method in generator which,
> otherwise, leads to an infinite loop. The second, corrects the argument
> marshaling functions in glib.

The patch to ClassBase.cs is fine, but the fact that it is needed is
most likely indicative of a parsing problem.  You might want to scan
your api.xml file for object elements without parent attrs.  All objects
should have parents.  If they don't please file a bug with the struct
declaration of the object type that doesn't so I can extend the parser
to handle it.

What behavior are you seeing that prompted you to patch
glib/Marshaller.cs.  Your patch should work okay, but SizeOf
(typeof(string)) should be returning the proper results too, unless
perhaps if there's a 64 bit bug in mono or something.  Can you clarify
why you added this to the patch?

-- 
Mike Kestner <mkestner@ximian.com>