summaryrefslogtreecommitdiff
path: root/girepository/girnode.h
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2014-05-06 18:53:21 +0200
committerGiovanni Campagna <gcampagna@src.gnome.org>2014-07-03 10:31:17 +0200
commita4c9d09d7a89d3c80b4465a5c2ae0efa24158b24 (patch)
treef56b061a761dd45ed64d9015c8a7cf00b46be710 /girepository/girnode.h
parentb2bf49eae922bffddc952fcc22e4acbd7d40c5f3 (diff)
downloadgobject-introspection-a4c9d09d7a89d3c80b4465a5c2ae0efa24158b24.tar.gz
Parse and expose ownership transfer for instance parameters
Knowing the ownership transfer for instance parameters is necessary for correct memory management of functions which "eat" their instance argument, such as g_dbus_method_invocation_return_*. Parse this information from the gir file and store in the typelib, and then provide new API on GICallableInfo to retrieve this. https://bugzilla.gnome.org/show_bug.cgi?id=729662
Diffstat (limited to 'girepository/girnode.h')
-rw-r--r--girepository/girnode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/girepository/girnode.h b/girepository/girnode.h
index 4beef7f8..02196e7f 100644
--- a/girepository/girnode.h
+++ b/girepository/girnode.h
@@ -100,6 +100,7 @@ struct _GIrNodeFunction
gboolean is_constructor;
gboolean wraps_vfunc;
gboolean throws;
+ gboolean instance_transfer_full;
gchar *symbol;
@@ -188,6 +189,7 @@ struct _GIrNodeSignal
gboolean detailed;
gboolean action;
gboolean no_hooks;
+ gboolean instance_transfer_full;
gboolean has_class_closure;
gboolean true_stops_emit;
@@ -208,6 +210,7 @@ struct _GIrNodeVFunc
gboolean must_not_be_implemented;
gboolean is_class_closure;
gboolean throws;
+ gboolean instance_transfer_full;
char *invoker;