diff options
Diffstat (limited to 'tests/gimarshallingtests.c')
-rw-r--r-- | tests/gimarshallingtests.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c index 9d58e260..aa78154a 100644 --- a/tests/gimarshallingtests.c +++ b/tests/gimarshallingtests.c @@ -4020,6 +4020,19 @@ gi_marshalling_tests_object_vfunc_multiple_out_parameters (GIMarshallingTestsObj } /** + * gi_marshalling_tests_object_vfunc_caller_allocated_out_parameter: + * @a: (out): + */ +void +gi_marshalling_tests_object_vfunc_caller_allocated_out_parameter (GIMarshallingTestsObject *self, GValue *a) +{ + /* make sure that local variables don't get smashed */ + gulong local = 0x12345678; + GI_MARSHALLING_TESTS_OBJECT_GET_CLASS (self)->vfunc_caller_allocated_out_parameter (self, a); + g_assert_cmpint(local, ==, 0x12345678); +} + +/** * gi_marshalling_tests_object_vfunc_return_value_and_one_out_parameter: * @a: (out): */ |