[gtk-doc] tests: add testcases for bug 512155



commit c50ae1662714871cc36f4ebbeb97049be5725788
Author: Stefan Kost <ensonic users sf net>
Date:   Thu Nov 26 12:31:06 2009 +0200

    tests: add testcases for bug 512155

 tests/bugs/docs/tester-sections.txt |    3 +++
 tests/bugs/src/tester.c             |    1 +
 tests/bugs/src/tester.h             |   29 +++++++++++++++++++++++++++++
 3 files changed, 33 insertions(+), 0 deletions(-)
---
diff --git a/tests/bugs/docs/tester-sections.txt b/tests/bugs/docs/tester-sections.txt
index b2832ac..6a39801 100644
--- a/tests/bugs/docs/tester-sections.txt
+++ b/tests/bugs/docs/tester-sections.txt
@@ -18,6 +18,8 @@ bug_460127
 bug_471014
 bug_477532
 bug_501038
+bug_512155b_function_pointer_t
+bug_512155c_function_pointer_t
 bug_532395a
 bug_532395b
 bug_544172
@@ -29,6 +31,7 @@ bug_602518a
 bug_602518b
 bug_602518c
 <SUBSECTION Standard>
+bug_512155a_function_pointer_t
 <SUBSECTION Private>
 bug_554833_new
 </SECTION>
diff --git a/tests/bugs/src/tester.c b/tests/bugs/src/tester.c
index 344463e..b8e361a 100644
--- a/tests/bugs/src/tester.c
+++ b/tests/bugs/src/tester.c
@@ -150,6 +150,7 @@ void bug_580300c_get_type() { }
 
 int bug_580300d_get_type() { }
 
+
 /**
  * bug_602518a:
  *
diff --git a/tests/bugs/src/tester.h b/tests/bugs/src/tester.h
index e637755..f3171eb 100644
--- a/tests/bugs/src/tester.h
+++ b/tests/bugs/src/tester.h
@@ -111,6 +111,35 @@ typedef struct {
   unsigned long index;
 } Bug512154;
 
+
+/*
+ * bug_512155a_function_pointer_t:
+ *
+ * http://bugzilla.gnome.org/show_bug.cgi?id=512155
+ */
+typedef int
+(*bug_512155a_function_pointer_t) (unsigned int arg1, unsigned int arg2,
+                                  unsigned int arg3);
+
+/**
+ * bug_512155b_function_pointer_t:
+ *
+ * http://bugzilla.gnome.org/show_bug.cgi?id=512155
+ */
+typedef
+int (*bug_512155b_function_pointer_t) (unsigned int arg1, unsigned int arg2,
+                                       unsigned int arg3);
+
+/**
+ * bug_512155c_function_pointer_t:
+ *
+ * http://bugzilla.gnome.org/show_bug.cgi?id=512155
+ */
+typedef int (*bug_512155c_function_pointer_t) (unsigned int arg1,
+                                               unsigned int arg2,
+                                               unsigned int arg3);
+
+
 /**
  * BUG_530758:
  *



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