summaryrefslogtreecommitdiff
path: root/tests/gimarshallingtests.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2011-06-02 14:57:58 -0400
committerDan Winship <danw@gnome.org>2011-06-10 17:37:05 -0400
commit88e8592c5bb8709c035865f084e104db54564a89 (patch)
treeecd50a8091024a9ce493a1f05de86cb29d1d52aa /tests/gimarshallingtests.h
parent4dfc48069abbbdc59fbb9af93e107d915aa0ec5c (diff)
downloadgobject-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.h3
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 */