[PATCH] Add a parameterised gtype for structs

Rob Taylor robtaylor at floopily.org
Sun Feb 5 17:06:26 PST 2006


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-g-struct.patch
Type: text/x-patch
Size: 35194 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060206/842f61ac/dbus-g-struct-0001.bin


More information about the dbus mailing list