summaryrefslogtreecommitdiff
path: root/tests/gimarshallingtests.h
diff options
context:
space:
mode:
authorBastian Winkler <buz@netbuz.org>2012-04-20 14:01:18 +0200
committerMartin Pitt <martinpitt@gnome.org>2012-04-20 15:14:13 +0200
commitd4b37b82ac49eacb17c3e7e2acf54533e27a11e4 (patch)
tree3e3f0dacaa80faa961a414423d15fcf90c660ac7 /tests/gimarshallingtests.h
parent7b8ef1e9b3ae3c616c03c3b8d9571f5dba026923 (diff)
downloadgobject-introspection-d4b37b82ac49eacb17c3e7e2acf54533e27a11e4.tar.gz
tests: Add array marshalling test for array without length argument
A test case with an array in-argument that is neither zero terminated, nor fixed length, nor blessed with a length argument. This is, for example, the case in clutter_texture_set_from_rgb_data() https://bugzilla.gnome.org/show_bug.cgi?id=674271 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
Diffstat (limited to 'tests/gimarshallingtests.h')
-rw-r--r--tests/gimarshallingtests.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gimarshallingtests.h b/tests/gimarshallingtests.h
index 6fa1b089..2d3e1f65 100644
--- a/tests/gimarshallingtests.h
+++ b/tests/gimarshallingtests.h
@@ -398,6 +398,8 @@ void gi_marshalling_tests_array_out_etc (gint first, gint **ints, gint *length,
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);
+void gi_marshalling_tests_array_in_nonzero_nonlen (gint first, const guint8 *chars);
+
/* Zero-terminated */
gchar **gi_marshalling_tests_array_zero_terminated_return (void);