[gtk-doc] tests: update the tests



commit 1d761ad5a5c24695eab561704c691ff7af75e1c1
Author: Stefan Kost <ensonic users sf net>
Date:   Sat Jan 2 00:58:31 2010 +0200

    tests: update the tests

 tests/bugs/docs/tester-sections.txt |    3 ++-
 tests/bugs/src/tester.c             |    4 ++--
 tests/bugs/src/tester.h             |   27 ++++++++++++++++++++++++---
 3 files changed, 28 insertions(+), 6 deletions(-)
---
diff --git a/tests/bugs/docs/tester-sections.txt b/tests/bugs/docs/tester-sections.txt
index e29e7bc..784a4a2 100644
--- a/tests/bugs/docs/tester-sections.txt
+++ b/tests/bugs/docs/tester-sections.txt
@@ -20,6 +20,7 @@ bug_460127
 bug_471014
 bug_477532
 bug_501038
+bug_512155a_function_pointer_t
 bug_512155b_function_pointer_t
 bug_512155c_function_pointer_t
 bug_532395a
@@ -37,8 +38,8 @@ bug_602518a
 bug_602518b
 bug_602518c
 <SUBSECTION Standard>
-bug_512155a_function_pointer_t
 <SUBSECTION Private>
+GTKDOC_GNUC_CONST
 bug_554833_new
 </SECTION>
 
diff --git a/tests/bugs/src/tester.c b/tests/bugs/src/tester.c
index f79483b..5d7ea50 100644
--- a/tests/bugs/src/tester.c
+++ b/tests/bugs/src/tester.c
@@ -122,14 +122,14 @@ const char* const * bug_552602 (void) {
   return NULL;
 }
 
-/** 
+/**
  * bug_574654a:
  *
  * http://bugzilla.gnome.org/show_bug.cgi?id=574654
  *
  * Returns: result
  */
-/** 
+/**
  * bug_574654b:
  * @offset: skip this many items
  *
diff --git a/tests/bugs/src/tester.h b/tests/bugs/src/tester.h
index 10266a3..8e7e4ae 100644
--- a/tests/bugs/src/tester.h
+++ b/tests/bugs/src/tester.h
@@ -114,8 +114,11 @@ typedef struct {
 } Bug512154;
 
 
-/*
+/**
  * bug_512155a_function_pointer_t:
+ * @arg1: param 1
+ * @arg2: param 1
+ * @arg3: param 1
  *
  * http://bugzilla.gnome.org/show_bug.cgi?id=512155
  */
@@ -219,8 +222,9 @@ struct _bug_554833 {
 struct _bug_554833 *
                 bug_554833_new (void);
 
-#define _GTKDOC_GNUC_CONST
-int bug_574654a(void) _GTKDOC_GNUC_CONST;
+
+#define GTKDOC_GNUC_CONST
+int bug_574654a(void) GTKDOC_GNUC_CONST;
 void bug_574654b(double offset);
 
 
@@ -260,5 +264,22 @@ typedef union _Bug165425b {
 } Bug165425b;
 
 
+/*
+ * BugXXX1b:
+ * @a: field
+ *
+ * No bug report
+ *
+typedef struct _BugXXX1b BugXXX1b;
+struct _BugXXX1b {
+  *//*< protected >*//*
+  gint a;
+
+  *//*< private >*//*
+  gint b;
+};
+*/
+
+
 #endif // GTKDOC_TESTER_H
 



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