2 <!-- This file was automatically generated from C sources - DO NOT EDIT!
3 To affect the contents of this file, edit the original C definitions,
4 and/or use gtk-doc annotations. -->
5 <repository version="1.2"
6 xmlns="http://www.gtk.org/introspection/core/1.0"
7 xmlns:c="http://www.gtk.org/introspection/c/1.0"
8 xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
9 <include name="GObject" version="2.0"/>
10 <package name="gobject-2.0"/>
11 <c:include name="gettype.h"/>
12 <namespace name="GetType"
14 shared-library="libgettype.so"
15 c:identifier-prefixes="GetType"
16 c:symbol-prefixes="gettype">
18 c:symbol-prefix="object"
19 c:type="GetTypeObject"
20 parent="GObject.Object"
21 glib:type-name="GetTypeObject"
22 glib:get-type="gettype_object_get_type"
23 glib:type-struct="ObjectClass">
24 <constructor name="new" c:identifier="gettype_object_new">
25 <return-value transfer-ownership="full">
26 <type name="Object" c:type="GetTypeObject*"/>
29 <function name="nonmeta2_get_type"
30 c:identifier="gettype_object_nonmeta2_get_type">
31 <doc xml:whitespace="preserve">This shouldn't be scanned as a *_get_type function because it doesn't return
32 a GType. It will generate a warning.</doc>
33 <return-value transfer-ownership="none">
34 <doc xml:whitespace="preserve">true</doc>
35 <type name="gboolean" c:type="gboolean"/>
38 <function name="nonmeta_get_gtype"
39 c:identifier="gettype_object_nonmeta_get_gtype">
40 <doc xml:whitespace="preserve">This shouldn't be scanned as a *_get_type function because it doesn't return
41 a GType. It will generate a warning.</doc>
42 <return-value transfer-ownership="none">
43 <doc xml:whitespace="preserve">true</doc>
44 <type name="gboolean" c:type="gboolean"/>
47 <method name="nonmeta1_get_type"
48 c:identifier="gettype_object_nonmeta1_get_type">
49 <doc xml:whitespace="preserve">This shouldn't be scanned as a *_get_type function because it takes
51 <return-value transfer-ownership="none">
52 <doc xml:whitespace="preserve">0</doc>
53 <type name="GType" c:type="GType"/>
56 <instance-parameter name="obj" transfer-ownership="none">
57 <doc xml:whitespace="preserve">self</doc>
58 <type name="Object" c:type="GetTypeObject*"/>
62 <field name="parent_instance">
63 <type name="GObject.Object" c:type="GObject"/>
66 <record name="ObjectClass"
67 c:type="GetTypeObjectClass"
68 glib:is-gtype-struct-for="Object">
69 <field name="parent_class">
70 <type name="GObject.ObjectClass" c:type="GObjectClass"/>