summaryrefslogtreecommitdiff
path: root/tests/scanner/TestInherit-1.0-expected.gir
blob: 84654543185f32485e9ead457e6e7dc01ded9122 (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
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="GLib" version="2.0"/>
  <include name="GObject" version="2.0"/>
  <include name="Utility" version="1.0"/>
  <package name="gobject-2.0"/>
  <namespace name="TestInherit"
             version="1.0"
             shared-library="libtestinherit.so"
             c:identifier-prefixes="TestInherit"
             c:symbol-prefixes="test_inherit">
    <class name="Drawable"
           c:symbol-prefix="drawable"
           c:type="TestInheritDrawable"
           parent="GObject.Object"
           abstract="1"
           glib:type-name="TestInheritDrawable"
           glib:get-type="test_inherit_drawable_get_type"
           glib:type-struct="DrawableClass">
      <method name="do_foo" c:identifier="test_inherit_drawable_do_foo">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="x" transfer-ownership="none">
            <type name="gint" c:type="int"/>
          </parameter>
        </parameters>
      </method>
      <method name="do_foo_maybe_throw"
              c:identifier="test_inherit_drawable_do_foo_maybe_throw"
              throws="1">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="x" transfer-ownership="none">
            <type name="gint" c:type="int"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_origin"
              c:identifier="test_inherit_drawable_get_origin">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="x"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <type name="gint" c:type="int*"/>
          </parameter>
          <parameter name="y"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <type name="gint" c:type="int*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_size" c:identifier="test_inherit_drawable_get_size">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="width"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <type name="guint" c:type="guint*"/>
          </parameter>
          <parameter name="height"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <type name="guint" c:type="guint*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="DrawableClass"
            c:type="TestInheritDrawableClass"
            glib:is-gtype-struct-for="Drawable">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <record name="PixmapObjectClass" c:type="TestInheritPixmapObjectClass">
      <field name="parent_class" writable="1">
        <type name="DrawableClass" c:type="TestInheritDrawableClass"/>
      </field>
    </record>
  </namespace>
</repository>