[PATCH] Add a parameterised gtype for structs

John (J5) Palmieri johnp at redhat.com
Mon Feb 6 11:19:14 PST 2006

Coding looks good though I just gave it a once over for obvious errors.
I see you have a functional test but did you update the tests in
tests/glib?  It would be nice to see glib sending a struct and then
getting it back and decoding it correctly.  It would be even nicer to
see python sending it a struct and then getting it back as is.

On Mon, 2006-02-06 at 01:06 +0000, Rob Taylor wrote:
> This patch fixes the last big hole in the glib bindings. It implements a
> DBus specialized type for structs, meaning that now almost every DBus
> type signature is bidirectionally mappable to a glib type. This should
> remove a lot of weird behaviour and make it possible to emit messages of
> almost every possible DBus type.
> IMO, this brings the glib bindings to near a 1.0 release, the remaining
> piece of work is to add a gtype for (u)int16 - I gather this was left as
> there was a plan to add this to glib but, at this moment, glib does not
> yet have this type. I could provide a patch for glib to add this, or I
> could add it to the DBus bindings - what do you guys reckon is the best
> way forward?
> Thanks,
> Rob Taylor
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
John (J5) Palmieri <johnp at redhat.com>

More information about the dbus mailing list