[PATCH] Add a parameterised gtype for structs
robtaylor at floopily.org
Mon Feb 6 14:04:14 PST 2006
John (J5) Palmieri wrote:
> 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.
I can add this, shouldn't take long.
> It would be even nicer to
> see python sending it a struct and then getting it back as is.
Well, I think that's something to leave until after we split out the
bindings and testing... for now, you'll have to take my word that it
> 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
>>dbus mailing list
>>dbus at lists.freedesktop.org
More information about the dbus