[gobject-introspection] Fix annotations for GList and GSList tests.



commit d0d0069bbb276f24b119e1ad702219f2f68d0314
Author: C. Scott Ananian <cscott litl com>
Date:   Fri May 1 13:33:04 2009 -0400

    Fix annotations for GList and GSList tests.
---
 tests/everything/everything.c |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/tests/everything/everything.c b/tests/everything/everything.c
index 906a411..feab26c 100644
--- a/tests/everything/everything.c
+++ b/tests/everything/everything.c
@@ -337,6 +337,10 @@ static /*const*/ GList *test_sequence_list()
     return list;
 }
 
+/**
+ * test_glist_free:
+ * @in: (element-type utf8) (transfer full):
+ */
 void test_glist_free (GList *in)
 {
   g_list_foreach (in, (GFunc)g_free, NULL);
@@ -398,22 +402,38 @@ static void assert_test_sequence_list (const GList *in)
       g_assert (strcmp (in->data, test_sequence[i]) == 0);
 }
 
+/**
+ * test_glist_nothing_in:
+ * @in: (element-type utf8):
+ */
 void test_glist_nothing_in (const GList *in)
 {
   assert_test_sequence_list (in);
 }
 
+/**
+ * test_glist_nothing_in2:
+ * @in: (element-type utf8):
+ */
 void test_glist_nothing_in2 (GList *in)
 {
   assert_test_sequence_list (in);
 }
 
+/**
+ * test_glist_container_in:
+ * @in: (element-type utf8) (transfer container):
+ */
 void test_glist_container_in (GList *in)
 {
   assert_test_sequence_list (in);
   g_list_free (in);
 }
 
+/**
+ * test_glist_everything_in:
+ * @in: (element-type utf8) (transfer full):
+ */
 void test_glist_everything_in (GList *in)
 {
   assert_test_sequence_list (in);
@@ -436,6 +456,10 @@ static /*const*/ GSList *test_sequence_slist()
     return list;
 }
 
+/**
+ * test_gslist_free:
+ * @in: (element-type utf8) (transfer full):
+ */
 void test_gslist_free (GSList *in)
 {
   g_slist_foreach (in, (GFunc)g_free, NULL);
@@ -497,22 +521,38 @@ static void assert_test_sequence_slist (const GSList *in)
       g_assert (strcmp (in->data, test_sequence[i]) == 0);
 }
 
+/**
+ * test_gslist_nothing_in:
+ * @in: (element-type utf8):
+ */
 void test_gslist_nothing_in (const GSList *in)
 {
   assert_test_sequence_slist (in);
 }
 
+/**
+ * test_gslist_nothing_in2:
+ * @in: (element-type utf8):
+ */
 void test_gslist_nothing_in2 (GSList *in)
 {
   assert_test_sequence_slist (in);
 }
 
+/**
+ * test_gslist_container_in:
+ * @in: (element-type utf8) (transfer container):
+ */
 void test_gslist_container_in (GSList *in)
 {
   assert_test_sequence_slist (in);
   g_slist_free (in);
 }
 
+/**
+ * test_gslist_everything_in:
+ * @in: (element-type utf8) (transfer full):
+ */
 void test_gslist_everything_in (GSList *in)
 {
   assert_test_sequence_slist (in);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]