summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-06-16 14:43:21 -0400
committerColin Walters <walters@verbum.org>2011-06-16 14:43:21 -0400
commit9e59567494689533bc1553ad0a02d9a37d8f1585 (patch)
tree7caaec397c8418ffd647fa01f06df4b878c9acfa
parent79a2c3fdf74c01a166ef3cd1cef553ddf42cd6cf (diff)
downloadgobject-introspection-9e59567494689533bc1553ad0a02d9a37d8f1585.tar.gz
gimarshallingtests: Remove gi_marshalling_tests_array_nested_in
We don't actually support nested container types in practice.
-rw-r--r--tests/gimarshallingtests.c23
-rw-r--r--tests/gimarshallingtests.h1
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);