summaryrefslogtreecommitdiff
path: root/tests/scanner/annotationparser/gi/annotation_in_out.xml
blob: c8d36f4565ee24108eef28214e241ba30dad7f6c (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
<?xml version="1.0" encoding="UTF-8"?>

<tests>

<test>
  <commentblock>/**
 * annotation_object_inout:
 * @object: a #GObject
 * @inoutarg: (inout): This is an argument test
 * @inoutarg2: (in-out): This is an argument test
 *
 * This is a test for inout arguments
 *
 * Return value: an int
 */</commentblock>
  <docblock>
    <identifier>
      <name>annotation_object_inout</name>
    </identifier>
    <parameters>
      <parameter>
        <name>object</name>
        <description>a #GObject</description>
      </parameter>
      <parameter>
        <name>inoutarg</name>
        <annotations>
          <annotation>
            <name>inout</name>
          </annotation>
        </annotations>
        <description>This is an argument test</description>
      </parameter>
      <parameter>
        <name>inoutarg2</name>
        <annotations>
          <annotation>
            <name>in-out</name>
          </annotation>
        </annotations>
        <description>This is an argument test</description>
      </parameter>
    </parameters>
    <description>This is a test for inout arguments</description>
    <tags>
      <tag>
        <name>returns</name>
        <description>an int</description>
      </tag>
    </tags>
  </docblock>
</test>

</tests>