summaryrefslogtreecommitdiff
path: root/girepository/girnode.c
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2011-05-13 12:20:05 -0400
committerDavid Zeuthen <davidz@redhat.com>2011-05-13 14:18:48 -0400
commit9c6797e0478b5025c3f2f37b1331c1328cf34f4d (patch)
tree21efe4e901211a20bf52037da529a8a490d27ab7 /girepository/girnode.c
parentb29b3ec7c9f4f9f6d979aff1bfc3dc6cb05970d2 (diff)
downloadgobject-introspection-9c6797e0478b5025c3f2f37b1331c1328cf34f4d.tar.gz
Add support for the (skip) annotation on parameters or return values
This was discussed in bug 649657. https://bugzilla.gnome.org/show_bug.cgi?id=649657 Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'girepository/girnode.c')
-rw-r--r--girepository/girnode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/girepository/girnode.c b/girepository/girnode.c
index fe10e543..9998d8e5 100644
--- a/girepository/girnode.c
+++ b/girepository/girnode.c
@@ -1685,6 +1685,7 @@ _g_ir_node_build_typelib (GIrNode *node,
blob2->may_return_null = function->result->allow_none;
blob2->caller_owns_return_value = function->result->transfer;
blob2->caller_owns_return_container = function->result->shallow_transfer;
+ blob2->skip_return = function->result->skip;
blob2->reserved = 0;
blob2->n_arguments = n;
@@ -1869,6 +1870,7 @@ _g_ir_node_build_typelib (GIrNode *node,
blob->out = param->out;
blob->caller_allocates = param->caller_allocates;
blob->allow_none = param->allow_none;
+ blob->skip = param->skip;
blob->optional = param->optional;
blob->transfer_ownership = param->transfer;
blob->transfer_container_ownership = param->shallow_transfer;