File: instance-parameter-owned.gir

package info (click to toggle)
vala 0.56.18-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 57,468 kB
  • sloc: ansic: 581,293; sh: 5,334; makefile: 3,946; xml: 3,161; yacc: 1,219; lex: 374; javascript: 23
file content (43 lines) | stat: -rw-r--r-- 1,590 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0"?>
<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="GObject" version="2.0"/>
<include name="GLib" version="2.0"/>
<include name="Gio" version="2.0"/>
<package name="test"/>
<c:include name="test.h"/>
<namespace name="Test" version="1.0" shared-library="test" c:prefix="Test" c:identifier-prefixes="Test" c:symbol-prefixes="test">
<record name="Foo"
        c:type="TestFoo"
        glib:type-name="TestFoo"
        glib:get-type="test_foo_get_type"
        c:symbol-prefix="foo">
  <constructor name="new" c:identifier="test_foo_new">
    <return-value transfer-ownership="full">
      <type name="Transform" c:type="TestFoo*"/>
    </return-value>
  </constructor>
  <method name="bar" c:identifier="test_foo_bar">
    <return-value transfer-ownership="full">
      <type name="Foo" c:type="TestFoo*"/>
    </return-value>
    <parameters>
      <instance-parameter name="self"
                          transfer-ownership="full">
        <type name="Foo" c:type="TestFoo*"/>
      </instance-parameter>
    </parameters>
  </method>
  <method name="baz" c:identifier="test_foo_baz">
    <return-value transfer-ownership="full">
      <type name="none"/>
    </return-value>
    <parameters>
      <instance-parameter name="self"
                          transfer-ownership="full">
        <type name="Foo" c:type="TestFoo*"/>
      </instance-parameter>
    </parameters>
  </method>
</record>
</namespace>
</repository>