summaryrefslogtreecommitdiff
path: root/tests/boxed.test
blob: 54c4436c5941e495e4e07a0e7dd14876b2db0552 (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
<?xml version="1.0"?>
<api version="1.0">
  <namespace name="Foo">
    <boxed name="boxed1" type-name="BoxedType1" get-type="boxed1_get_type" deprecated="1">
      <field name="field1" readable="1" writable="1" offset="0" type="guint32" />
      <method name="frob_boxed1" symbol="frob_boxed1">
        <return-type type="void" />
        <parameters>
          <parameter name="box" type="boxed1*" transfer="full" direction="in" />
          <parameter name="w" type="GList<boxed2*>*" transfer="full" direction="in" />
          <parameter name="t" type="GHashTable<utf8,gint64>*" transfer="full" direction="in" />
          <parameter name="e" type="GError*" transfer="full" direction="out" />
        </parameters>
      </method>
      <method name="lart" symbol="lart">
        <return-type type="gboolean" />
        <parameters>
          <parameter name="box" type="boxed2*" transfer="full" direction="in" />
          <parameter name="val" type="gint*" transfer="full" direction="inout" />
        </parameters>
      </method>
    </boxed>
    <function name="freefunc" symbol="freefunc" deprecated="1">
      <return-type type="gint" />
      <parameters>
        <parameter name="v1" type="gint" direction="in" />
        <parameter name="val2" type="gint" direction="in" />
      </parameters>
    </function>
    <boxed name="boxed2" type-name="BoxedType2" get-type="boxed2_get_type" deprecated="1">
    </boxed>
  </namespace>
</api>