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

<tests xmlns="http://schemas.gnome.org/gobject-introspection/2013/test">

<test>
  <input>/**
 * 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
 */</input>
  <parser>
    <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>
  </parser>
  <output>/**
 * annotation_object_in:
 * @object: a #GObject
 * @inarg: (in) (transfer none): This is an argument test
 *
 * This is a test for in arguments
 *
 * Returns: an int
 */</output>
</test>

</tests>