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

<tests>

<test>
  <commentblock>/**
 * annotation_object_in:
 * @object: a #GObject
 * @inarg: (in) (transfer none): This is an argument test
 *
 * This is a test for in arguments
 *
 * Return value: an int
 */</commentblock>
  <docblock>
    <identifier>
      <name>annotation_object_in</name>
    </identifier>
    <parameters>
      <parameter>
        <name>object</name>
        <description>a #GObject</description>
      </parameter>
      <parameter>
        <name>inarg</name>
        <annotations>
          <annotation>
            <name>in</name>
          </annotation>
          <annotation>
            <name>transfer</name>
            <options>
              <option>
                <name>none</name>
              </option>
            </options>
          </annotation>
        </annotations>
        <description>This is an argument test</description>
      </parameter>
    </parameters>
    <description>This is a test for in arguments</description>
    <tags>
      <tag>
        <name>returns</name>
        <description>an int</description>
      </tag>
    </tags>
  </docblock>
</test>

</tests>