diff options
author | Laszlo Pandy <lpandy@src.gnome.org> | 2011-02-22 12:15:49 +0100 |
---|---|---|
committer | Laszlo Pandy <lpandy@src.gnome.org> | 2011-02-22 12:16:44 +0100 |
commit | f49f46f0c2b4ab2c7e33598596e6df72bd960c19 (patch) | |
tree | 9faa13f842bf25ee670ae6e08b92c08ec8a4ee1c /tests/gimarshallingtests.c | |
parent | e16444d4a07613a6ab07e7827ef970fb072830e5 (diff) | |
download | gobject-introspection-f49f46f0c2b4ab2c7e33598596e6df72bd960c19.tar.gz |
Add non GType flags to GIMarshallingTests.
Diffstat (limited to 'tests/gimarshallingtests.c')
-rw-r--r-- | tests/gimarshallingtests.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c index 069d46e6..bbb6bd8d 100644 --- a/tests/gimarshallingtests.c +++ b/tests/gimarshallingtests.c @@ -2564,6 +2564,46 @@ gi_marshalling_tests_flags_inout (GIMarshallingTestsFlags *flags_) } +GIMarshallingTestsNoTypeFlags +gi_marshalling_tests_no_type_flags_returnv (void) +{ + return GI_MARSHALLING_TESTS_NO_TYPE_FLAGS_VALUE2; +} + +void +gi_marshalling_tests_no_type_flags_in (GIMarshallingTestsNoTypeFlags flags_) +{ + g_assert(flags_ == GI_MARSHALLING_TESTS_NO_TYPE_FLAGS_VALUE2); +} + +void +gi_marshalling_tests_no_type_flags_in_zero (GIMarshallingTestsNoTypeFlags flags) +{ + g_assert(flags == 0); +} + +/** + * gi_marshalling_tests_no_type_flags_out: + * @flags_: (out): + */ +void +gi_marshalling_tests_no_type_flags_out (GIMarshallingTestsNoTypeFlags *flags_) +{ + *flags_ = GI_MARSHALLING_TESTS_NO_TYPE_FLAGS_VALUE2; +} + +/** + * gi_marshalling_tests_no_type_flags_inout: + * @flags_: (inout): + */ +void +gi_marshalling_tests_no_type_flags_inout (GIMarshallingTestsNoTypeFlags *flags_) +{ + g_assert(*flags_ == GI_MARSHALLING_TESTS_NO_TYPE_FLAGS_VALUE2); + *flags_ = GI_MARSHALLING_TESTS_NO_TYPE_FLAGS_VALUE1; +} + + /** * gi_marshalling_tests_simple_struct_returnv: * Returns: (transfer none): |