summaryrefslogtreecommitdiff
path: root/tests/scanner/annotationparser/gtkdoc/gobject/giface.h.xml
blob: 7185ad0b4873a2d54a3f4030b649b3beeaef320a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?xml version="1.0" encoding="UTF-8"?>

<tests>

<test>
  <commentblock>/**
 * GtkdocIface:
 *
 * opaque instance of gtk-doc unit test interface
 */</commentblock>
  <docblock>
    <identifier>
      <name>GtkdocIface</name>
    </identifier>
    <description>opaque instance of gtk-doc unit test interface</description>
  </docblock>
</test>

<test>
  <commentblock>/**
 * GtkdocIface2:
 *
 * opaque instance of gtk-doc unit test interface
 */</commentblock>
  <docblock>
    <identifier>
      <name>GtkdocIface2</name>
    </identifier>
    <description>opaque instance of gtk-doc unit test interface</description>
  </docblock>
</test>

<test>
  <commentblock>/**
 * GtkdocIfaceInterface:
 * @parent: this is a bug :/
 * @test: overideable method
 *
 * class data of gtk-doc unit test interface
 */</commentblock>
  <docblock>
    <identifier>
      <name>GtkdocIfaceInterface</name>
    </identifier>
    <parameters>
      <parameter>
        <name>parent</name>
        <description>this is a bug :/</description>
      </parameter>
      <parameter>
        <name>test</name>
        <description>overideable method</description>
      </parameter>
    </parameters>
    <description>class data of gtk-doc unit test interface</description>
  </docblock>
</test>

<test>
  <commentblock>/**
 * GTKDOC_IFACE_MACRO_DUMMY:
 * @parameter_1: first arg
 * @parameter_2: second arg
 *
 * This macro does nothing.
 */</commentblock>
  <docblock>
    <identifier>
      <name>GTKDOC_IFACE_MACRO_DUMMY</name>
    </identifier>
    <parameters>
      <parameter>
        <name>parameter_1</name>
        <description>first arg</description>
      </parameter>
      <parameter>
        <name>parameter_2</name>
        <description>second arg</description>
      </parameter>
    </parameters>
    <description>This macro does nothing.</description>
  </docblock>
</test>

<test>
  <commentblock>/**
 * GTKDOC_IFACE_MACRO_SUM:
 * @parameter_1: first arg
 * @parameter_2: second arg
 *
 * This macro adds its args.
 *
 * Returns: the sum of @parameter_1 and @parameter_2
 */</commentblock>
  <docblock>
    <identifier>
      <name>GTKDOC_IFACE_MACRO_SUM</name>
    </identifier>
    <parameters>
      <parameter>
        <name>parameter_1</name>
        <description>first arg</description>
      </parameter>
      <parameter>
        <name>parameter_2</name>
        <description>second arg</description>
      </parameter>
    </parameters>
    <description>This macro adds its args.</description>
    <tags>
      <tag>
        <name>returns</name>
        <description>the sum of @parameter_1 and @parameter_2</description>
      </tag>
    </tags>
  </docblock>
</test>

</tests>