[patch] generate marshallers and metadata from dbus-glib-tool

Colin Walters walters at verbum.org
Wed Feb 9 22:17:20 PST 2005


On Thu, 2005-02-10 at 00:21 -0500, Colin Walters wrote:
> On Thu, 2004-11-18 at 15:32 -0500, Paul Kuliniewicz wrote:
> > I've updated the patch to assume that strings returned by functions
> > always need to be g_free()'d.  The new version of the patch is attached.
> 
> I took a bit of time tonight to update your patch and demo to the latest
> D-BUS CVS.
> 
> Other changes in the patch:
> 
> o Refactored generated glue code to use common functions, per Havoc's
>   suggestion
> o Made (untested) attempt at traversing class hierarchy for method
>   resolution

I also forgot:

o Turned info_hash_mutex into a reader/writer lock (info_hash_lock), 
  since reading is a lot more common than writing, and there's no reason
  to have multiple readers blocking on it
 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050210/bd6f4bba/attachment.pgp


More information about the dbus mailing list