[gobject-introspection] gimarshallingtests: Remove gi_marshalling_tests_array_nested_in
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] gimarshallingtests: Remove gi_marshalling_tests_array_nested_in
- Date: Thu, 16 Jun 2011 18:43:26 +0000 (UTC)
commit 9e59567494689533bc1553ad0a02d9a37d8f1585
Author: Colin Walters <walters verbum org>
Date: Thu Jun 16 14:43:21 2011 -0400
gimarshallingtests: Remove gi_marshalling_tests_array_nested_in
We don't actually support nested container types in practice.
tests/gimarshallingtests.c | 23 -----------------------
tests/gimarshallingtests.h | 1 -
2 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c
index 2f7eef8..5284223 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 7a8ec06..c97f63e 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]