[gtk-doc] tests: add tests for union parsing (#165425)
- From: Stefan Kost <stefkost src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk-doc] tests: add tests for union parsing (#165425)
- Date: Thu, 24 Dec 2009 22:03:38 +0000 (UTC)
commit 1883055b9203061c30f902cbc51a74e8e5f149ab
Author: Stefan Kost <ensonic users sf net>
Date: Fri Dec 25 00:00:02 2009 +0200
tests: add tests for union parsing (#165425)
tests/bugs/docs/tester-sections.txt | 2 ++
tests/bugs/src/tester.h | 32 +++++++++++++++++++++++++++++---
2 files changed, 31 insertions(+), 3 deletions(-)
---
diff --git a/tests/bugs/docs/tester-sections.txt b/tests/bugs/docs/tester-sections.txt
index 6a39801..e5e2231 100644
--- a/tests/bugs/docs/tester-sections.txt
+++ b/tests/bugs/docs/tester-sections.txt
@@ -1,6 +1,8 @@
<SECTION>
<FILE>tester</FILE>
<TITLE>GtkdocTester</TITLE>
+Bug165425a
+Bug165425b
Bug446648
Bug512154
diff --git a/tests/bugs/src/tester.h b/tests/bugs/src/tester.h
index f3171eb..99264e0 100644
--- a/tests/bugs/src/tester.h
+++ b/tests/bugs/src/tester.h
@@ -179,7 +179,7 @@ bug_532395b (void)
}
-/**
+/**
* bug_544172:
* @self: object pointer.
*
@@ -190,7 +190,7 @@ bug_532395b (void)
typedef char const * (*bug_544172) (char const *self);
-/**
+/**
* bug_554833:
*
* http://bugzilla.gnome.org/show_bug.cgi?id=554833
@@ -200,7 +200,7 @@ struct _bug_554833 {
};
-/**
+/**
* bug_554833_new:
*
* http://bugzilla.gnome.org/show_bug.cgi?id=554833
@@ -225,5 +225,31 @@ long int bug_602518a(void);
unsigned long int bug_602518b(void);
unsigned int bug_602518c(void);
+/**
+ * Bug165425a:
+ * @i: data as int
+ * @f: data as float
+ *
+ * http://bugzilla.gnome.org/show_bug.cgi?id=165425
+ */
+union _Bug165425a {
+ int i;
+ float f;
+};
+typedef union _Bug165425a Bug165425a;
+
+/**
+ * Bug165425b:
+ * @i: data as int
+ * @f: data as float
+ *
+ * http://bugzilla.gnome.org/show_bug.cgi?id=165425
+ */
+typedef union _Bug165425b {
+ int i;
+ float f;
+} Bug165425b;
+
+
#endif // GTKDOC_TESTER_H
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]