Re: GObject-Introspection 0.5.0
- From: Alexander Larsson <alexl redhat com>
- To: Johan Dahlin <johan gnome org>
- Cc: gnome-announce-list gnome org, Gtk+ Developers <gtk-devel-list gnome org>, language-bindings gnome org
- Subject: Re: GObject-Introspection 0.5.0
- Date: Sun, 07 Sep 2008 13:35:55 +0200
On Mon, 2008-09-01 at 09:35 +0200, Johan Dahlin wrote:
> I'm proud to announce the initial release of GObject-Introspection.
> Colin Walters and I have been hacking madly on it for the past couple of
> weeks and we have finally reached a point to where we're ready for more
> more users.
>
> Tarball can be found at:
> http://download.gnome.org/sources/gobject-introspection/0.5/
>
> The goal of the project is to describe the APIs and collect them in
> a uniform, machine readable format. The initial target is language bindings,
> which are heavy users of this kind of data.
I have a question about the details of GITransfer.
Consider a function accepting/returning a list of objects. Is this
right:
In argument (g_arg_info_get_ownership_transfer):
* GI_TRANSFER_NOTHING: caller owns list and objects
* GI_TRANSFER_CONTAINER: callee owns list, caller owns objects
(quite weird case, what function calls do this?)
* GI_TRANSFER_EVERYTHING: callee owns list and object
In return value (g_callable_info_get_caller_owns):
* GI_TRANSFER_NOTHING: callee owns list and objects
* GI_TRANSFER_CONTAINER: caller owns list, callee owns objects
* GI_TRANSFER_EVERYTHING: caller owns list and object
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]