summaryrefslogtreecommitdiff
path: root/tests/scanner/annotationparser/gtkdoc/gobject/gtypes.h.xml
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2012-07-17 17:19:14 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2012-11-28 21:31:23 +0100
commitd5029e03561a1493470c43f8d2a08b90758baccf (patch)
tree871035edba038de9265d46c17430b18a5cb95fae /tests/scanner/annotationparser/gtkdoc/gobject/gtypes.h.xml
parent9da33d09cd025f695df139c4501995182471f96b (diff)
downloadgobject-introspection-d5029e03561a1493470c43f8d2a08b90758baccf.tar.gz
giscanner: update annotationparser to most recent gtkdoc-mkdb bug fixes.
This patch adds a test for and implements a more generic solution to GTK-Doc commit 47abcd53b8489ebceec9e394676512a181c1f1f6 https://bugzilla.gnome.org/show_bug.cgi?id=688897
Diffstat (limited to 'tests/scanner/annotationparser/gtkdoc/gobject/gtypes.h.xml')
-rw-r--r--tests/scanner/annotationparser/gtkdoc/gobject/gtypes.h.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/scanner/annotationparser/gtkdoc/gobject/gtypes.h.xml b/tests/scanner/annotationparser/gtkdoc/gobject/gtypes.h.xml
index f4e76e58..1d188271 100644
--- a/tests/scanner/annotationparser/gtkdoc/gobject/gtypes.h.xml
+++ b/tests/scanner/annotationparser/gtkdoc/gobject/gtypes.h.xml
@@ -4,6 +4,33 @@
<test>
<commentblock>/**
+ * GtkdocEnum:
+ * @GTKDOC_ENUM_V1: first
+ * @GTKDOC_ENUM_V2: second
+ * Since: 0.10
+ *
+ * Enum values for the #GtkdocEnum type.
+ */</commentblock>
+ <docblock>
+ <identifier>
+ <name>GtkdocEnum</name>
+ </identifier>
+ <parameters>
+ <parameter>
+ <name>GTKDOC_ENUM_V1</name>
+ <description>first</description>
+ </parameter>
+ <parameter>
+ <name>GTKDOC_ENUM_V2</name>
+ <description>second Since: 0.10</description>
+ </parameter>
+ </parameters>
+ <description>Enum values for the #GtkdocEnum type.</description>
+ </docblock>
+</test>
+
+<test>
+ <commentblock>/**
* GtkdocPlainOldData:
* @n: Some integer member.
* @x: Some floating point member.