diff options
Diffstat (limited to 'tests/gimarshallingtests.c')
-rw-r--r-- | tests/gimarshallingtests.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c index cf54d5e3..9d58e260 100644 --- a/tests/gimarshallingtests.c +++ b/tests/gimarshallingtests.c @@ -2984,6 +2984,17 @@ gi_marshalling_tests_gvalue_out (GValue **value) } /** + * gi_marshalling_tests_gvalue_out_caller_allocates: + * @value: (out) (transfer none): + */ +void +gi_marshalling_tests_gvalue_out_caller_allocates (GValue *value) +{ + g_value_init(value, G_TYPE_INT); + g_value_set_int(value, 42); +} + +/** * gi_marshalling_tests_gvalue_inout: * @value: (inout) (transfer none): */ |