mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 07:38:54 +02:00
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>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user