diff options
author | Philip Chimento <philip.chimento@gmail.com> | 2020-09-20 05:11:20 +0000 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2020-09-20 05:11:20 +0000 |
commit | 5a673c1067b779bfbb4632a76340e0fa19305b58 (patch) | |
tree | b24ee08141f87c38d8d24a873a5f0f5b2336eed3 /tests/gimarshallingtests.h | |
parent | 7c9edf260b7c58a1587aa9b31c9f747bd6964487 (diff) | |
parent | ae2952e6167be60663d587a605e38e97d5f4978c (diff) | |
download | gobject-introspection-5a673c1067b779bfbb4632a76340e0fa19305b58.tar.gz |
Merge branch 'wip/smcv/test-more-flags' into 'master'
gimarshallingtests: Add more tests for flags
See merge request GNOME/gobject-introspection!235
Diffstat (limited to 'tests/gimarshallingtests.h')
-rw-r--r-- | tests/gimarshallingtests.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/gimarshallingtests.h b/tests/gimarshallingtests.h index 747a075d..5df1035e 100644 --- a/tests/gimarshallingtests.h +++ b/tests/gimarshallingtests.h @@ -749,6 +749,9 @@ _GI_TEST_EXTERN void gi_marshalling_tests_array_enum_in (GIMarshallingTestsEnum *_enum, gint length); _GI_TEST_EXTERN +void gi_marshalling_tests_array_flags_in (GIMarshallingTestsFlags *flags, gint length); + +_GI_TEST_EXTERN void gi_marshalling_tests_array_in_guint64_len (const gint *ints, guint64 length); _GI_TEST_EXTERN @@ -1117,6 +1120,9 @@ void gi_marshalling_tests_gvalue_in_with_modification (GValue *value); _GI_TEST_EXTERN void gi_marshalling_tests_gvalue_in_enum (GValue *value); +_GI_TEST_EXTERN +void gi_marshalling_tests_gvalue_in_flags (GValue *value); + _GI_TEST_EXTERN void gi_marshalling_tests_gvalue_out (GValue **value); @@ -1515,6 +1521,17 @@ struct _GIMarshallingTestsObjectClass * @object: (in) (transfer full): */ void (* vfunc_in_object_transfer_full) (GIMarshallingTestsObject *self, GObject *object); + + /** + * GIMarshallingTestsObjectClass::vfunc_return_flags: + */ + GIMarshallingTestsFlags (* vfunc_return_flags) (GIMarshallingTestsObject *self); + + /** + * GIMarshallingTestsObjectClass::vfunc_out_flags: + * @flags: (out): + */ + void (* vfunc_out_flags) (GIMarshallingTestsObject *self, GIMarshallingTestsFlags *flags); }; struct _GIMarshallingTestsObject @@ -1620,6 +1637,12 @@ GIMarshallingTestsEnum gi_marshalling_tests_object_vfunc_return_enum (GIMarshall _GI_TEST_EXTERN void gi_marshalling_tests_object_vfunc_out_enum (GIMarshallingTestsObject *self, GIMarshallingTestsEnum *_enum); +_GI_TEST_EXTERN +GIMarshallingTestsFlags gi_marshalling_tests_object_vfunc_return_flags (GIMarshallingTestsObject *self); + +_GI_TEST_EXTERN +void gi_marshalling_tests_object_vfunc_out_flags (GIMarshallingTestsObject *self, GIMarshallingTestsFlags *flags); + _GI_TEST_EXTERN void gi_marshalling_tests_object_get_ref_info_for_vfunc_return_object_transfer_none (GIMarshallingTestsObject *self, guint *ref_count, gboolean *is_floating); |