summaryrefslogtreecommitdiff
path: root/tests/scanner/annotationparser/gi/annotation_rename_to.xml
blob: dc79d18e031786884df527176eb4aa6079236be6 (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 xmlns="http://schemas.gnome.org/gobject-introspection/2013/test">

<test>
  <!--
  "Rename to:" tag syntax
  -->
  <input>/**
 * annotation_object_watch_full:
 * @object: A #AnnotationObject
 * @func: The callback
 * @user_data: The callback data
 * @destroy: Destroy notification
 *
 * Test overriding via the "Rename To" annotation.
 *
 * Rename to: annotation_object_watch
 */</input>
  <parser>
    <docblock>
      <identifier>
        <name>annotation_object_watch_full</name>
      </identifier>
      <parameters>
        <parameter>
          <name>object</name>
          <description>A #AnnotationObject</description>
        </parameter>
        <parameter>
          <name>func</name>
          <description>The callback</description>
        </parameter>
        <parameter>
          <name>user_data</name>
          <description>The callback data</description>
        </parameter>
        <parameter>
          <name>destroy</name>
          <description>Destroy notification</description>
        </parameter>
      </parameters>
      <description>Test overriding via the "Rename To" annotation.</description>
      <tags>
        <tag>
          <name>rename to</name>
          <description>annotation_object_watch</description>
        </tag>
      </tags>
    </docblock>
  </parser>
</test>

</tests>