glib bindings and memory management
Colin Walters
walters at verbum.org
Wed May 4 10:20:40 PDT 2005
On Wed, 2005-05-04 at 10:56 -0400, David Zeuthen wrote:
> On Tue, 2005-05-03 at 02:21 -0400, Colin Walters wrote:
> > 2) Map these return values to the GLib types, and have a specific
> > protocol for deallocation. For example, we would do this:
> >
> > gboolean
> > my_object_foo (MyObject *obj, DBusGArray *array, GArray **ret, GError
> ^^^^^^^^^^^
>
> Shouldn't this IN parameter be a GArray?
Yeah - that has to wait for me doing the same evil thing to GArray that
I started doing in dbus-ghash-utils.c.
> I prefer a solution where we don't need DBusGArray.
Ok.
-------------- 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/20050504/3c44595c/attachment.pgp
More information about the dbus
mailing list