diff options
-rw-r--r-- | tests/gimarshallingtests.c | 23 | ||||
-rw-r--r-- | tests/gimarshallingtests.h | 1 |
2 files changed, 0 insertions, 24 deletions
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c index 2f7eef83..52842231 100644 --- a/tests/gimarshallingtests.c +++ b/tests/gimarshallingtests.c @@ -1346,29 +1346,6 @@ gi_marshalling_tests_array_enum_in (GIMarshallingTestsEnum *_enum, gint length) } /** - * gi_marshalling_tests_array_nested_in: - * @list: (array length=length) (element-type GSList<gint>): - * @length: - */ -void -gi_marshalling_tests_array_nested_in (GSList **list, gint length) -{ - g_assert (length == 3); - - g_assert (g_slist_length (list[0]) == 1); - g_assert (list[0]->data == GINT_TO_POINTER (11)); - - g_assert (g_slist_length (list[1]) == 3); - g_assert (list[1]->data == GINT_TO_POINTER (21)); - g_assert (list[1]->next->data == GINT_TO_POINTER (22)); - g_assert (list[1]->next->next->data == GINT_TO_POINTER (23)); - - g_assert (g_slist_length (list[2]) == 2); - g_assert (list[2]->data == GINT_TO_POINTER (31)); - g_assert (list[2]->next->data == GINT_TO_POINTER (32)); -} - -/** * gi_marshalling_tests_array_in_guint64_len: * @ints: (array length=length) (transfer none): * @length: diff --git a/tests/gimarshallingtests.h b/tests/gimarshallingtests.h index 7a8ec067..c97f63eb 100644 --- a/tests/gimarshallingtests.h +++ b/tests/gimarshallingtests.h @@ -379,7 +379,6 @@ void gi_marshalling_tests_array_uint8_in (const guint8 *chars, gint length); void gi_marshalling_tests_array_struct_in (GIMarshallingTestsBoxedStruct **structs, gint length); void gi_marshalling_tests_array_struct_take_in (GIMarshallingTestsBoxedStruct **structs, gint length); void gi_marshalling_tests_array_enum_in (GIMarshallingTestsEnum *_enum, gint length); -void gi_marshalling_tests_array_nested_in (GSList **list, gint length); void gi_marshalling_tests_array_in_guint64_len (const gint *ints, guint64 length); void gi_marshalling_tests_array_in_guint8_len (const gint *ints, guint8 length); |