summaryrefslogtreecommitdiff
path: root/tests/scanner/drawable-expected.gir
blob: 55d2266e74d9b739ccd9362579ab11872898555b (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
<?xml version="1.0"?>
<repository version="1.0"
            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"/>
  <include name="GObject"/>
  <namespace name="drawable" shared-library="libdrawable.la">
    <class name="TestDrawable"
           c:type="TestDrawable"
           parent="GObject.Object"
           glib:type-name="TestDrawable"
           glib:get-type="test_drawable_get_type">
      <method name="do_foo" c:identifier="test_drawable_do_foo">
        <return-value>
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="drawable">
            <type name="TestDrawable" c:type="TestDrawable*"/>
          </parameter>
          <parameter name="x">
            <type name="int" c:type="int"/>
          </parameter>
        </parameters>
      </method>
    </class>
    <record name="TestDrawableClass" c:type="TestDrawableClass">
      <field name="parent_class">
        <type name="GObject.Class" c:type="GObjectClass"/>
      </field>
    </record>
    <record name="TestPixmapObjectClass" c:type="_TestPixmapObjectClass">
      <field name="parent_class">
        <type name="TestDrawableClass" c:type="TestDrawableClass"/>
      </field>
    </record>
  </namespace>
</repository>