diff options
author | Dan Winship <danw@gnome.org> | 2011-06-02 14:57:58 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2011-06-10 17:37:05 -0400 |
commit | 88e8592c5bb8709c035865f084e104db54564a89 (patch) | |
tree | ecd50a8091024a9ce493a1f05de86cb29d1d52aa /tests/gimarshallingtests.h | |
parent | 4dfc48069abbbdc59fbb9af93e107d915aa0ec5c (diff) | |
download | gobject-introspection-88e8592c5bb8709c035865f084e104db54564a89.tar.gz |
gimarshallingtests: add a few more array tests
Add some tests with parameters on either side of an out array length
parameter, to ensure that bindings that omit the length parameter
don't mess up any other parameters.
https://bugzilla.gnome.org/show_bug.cgi?id=651558
Diffstat (limited to 'tests/gimarshallingtests.h')
-rw-r--r-- | tests/gimarshallingtests.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gimarshallingtests.h b/tests/gimarshallingtests.h index f7b59b3b..ef80a4cf 100644 --- a/tests/gimarshallingtests.h +++ b/tests/gimarshallingtests.h @@ -279,14 +279,17 @@ void gi_marshalling_tests_array_fixed_inout (gint **ints); /* Variable-size */ const gint *gi_marshalling_tests_array_return (gint *length); +const gint *gi_marshalling_tests_array_return_etc (gint first, gint *length, gint last, gint *sum); void gi_marshalling_tests_array_in (const gint *ints, gint length); void gi_marshalling_tests_array_uint8_in (const guint8 *chars, gint length); void gi_marshalling_tests_array_out (gint **ints, gint *length); +void gi_marshalling_tests_array_out_etc (gint first, gint **ints, gint *length, gint last, gint *sum); void gi_marshalling_tests_array_inout (gint **ints, gint *length); +void gi_marshalling_tests_array_inout_etc (gint first, gint **ints, gint *length, gint last, gint *sum); /* Zero-terminated */ |