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>
*ints = values;
}
+/**
+ * gi_marshalling_tests_array_in_nonzero_nonlen:
+ * @first:
+ * @chars: (array):
+ */
+void
+gi_marshalling_tests_array_in_nonzero_nonlen (gint first, const guint8 *chars)
+{
+ g_assert(chars[0] == 'a');
+ g_assert(chars[1] == 'b');
+ g_assert(chars[2] == 'c');
+ g_assert(chars[3] == 'd');
+}
+
/**
* gi_marshalling_tests_array_zero_terminated_return:
*
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);