Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/scanner/BarApp-1.0-expected.tgir
blob: 45ceae067796fc1d452d3993ef45d2f03f21126c (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
<?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="GObject" version="2.0"/>
  <include name="GLib" version="2.0"/>
  <namespace name="BarApp" version="1.0" shared-library="" c:prefix="Bar">
    <class name="Baz" parent="GObject.Object" glib:type-struct="BazClass" glib:type-name="BarBaz" glib:get-type="bar_baz_get_type">
      <field name="parent_instance">
        <type name="GObject.Object"/>
      </field>
    </class>
    <record name="BazClass" glib:is-gtype-struct="1">
      <field name="parent_class">
        <type name="GObject.ObjectClass"/>
      </field>
    </record>
    <function name="func" c:identifier="barapp_func">
      <return-value transfer-ownership="none">
        <type name="none"/>
      </return-value>
    </function>
    <function name="func2" c:identifier="barapp_func2">
      <return-value transfer-ownership="none">
        <type name="none"/>
      </return-value>
      <parameters>
        <parameter name="x" transfer-ownership="none">
          <type name="int"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <type name="double"/>
        </parameter>
      </parameters>
    </function>
  </namespace>
</repository>