summaryrefslogtreecommitdiff
path: root/valadoc/tests/girwriter/GirTest-1.0.gir-expected
blob: 77ea56b8cbcd1ca33d21dac56d2abff02d6d88d1 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<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"/>
<package name="girtest"/>
<c:include name="girtest.h"/>
<namespace name="GirTest" version="1.0" c:prefix="GirTest" c:identifier-prefixes="GirTest" c:symbol-prefixes="gir_test">
	<enumeration name="EnumTest" c:type="GirTestEnumTest" glib:type-name="GirTestEnumTest" glib:get-type="gir_test_enum_test_get_type">
		<doc xml:space="preserve" filename="girtest.vala" line="40" column="2">&lt;para&gt;An example comment for an example enum.&lt;/para&gt;</doc>
		<member name="value1" c:identifier="GIR_TEST_ENUM_TEST_VALUE1" value="0"/>
	</enumeration>
	<enumeration name="ErrorTest" c:type="GirTestErrorTest" glib:type-name="GirTestErrorTest" glib:get-type="gir_test_error_test_get_type" glib:error-domain="gir-test-error-test-quark">
		<doc xml:space="preserve" filename="girtest.vala" line="47" column="2">&lt;para&gt;An example comment for an example errordomain.&lt;/para&gt;</doc>
		<member name="value1" c:identifier="GIR_TEST_ERROR_TEST_VALUE1" value="0"/>
	</enumeration>
	<class name="ObjectTest" c:type="GirTestObjectTest" c:symbol-prefix="object_test" glib:type-name="GirTestObjectTest" glib:get-type="gir_test_object_test_get_type" glib:type-struct="ObjectTestClass" parent="GObject.Object">
		<doc xml:space="preserve" filename="girtest.vala" line="75" column="2">&lt;para&gt;An example comment for an example class.&lt;/para&gt;</doc>
		<field name="parent_instance" readable="0" private="1">
			<type name="GObject.Object" c:type="GObject"/>
		</field>
		<field name="priv" readable="0" private="1">
			<type name="ObjectTestPrivate" c:type="GirTestObjectTestPrivate*"/>
		</field>
		<constructor name="new" c:identifier="gir_test_object_test_new">
			<doc xml:space="preserve" filename="girtest.vala" line="89" column="3">&lt;para&gt;An example comment for an example class constructor.&lt;/para&gt;</doc>
			<return-value transfer-ownership="full">
				<type name="GirTest.ObjectTest" c:type="GirTestObjectTest*"/>
			</return-value>
			<parameters>
				<parameter name="param" transfer-ownership="none">
					<doc xml:space="preserve" filename="girtest.vala" line="89" column="3">&lt;para&gt;An example comment for an example parameter. &lt;/para&gt;</doc>
					<type name="gint" c:type="gint"/>
				</parameter>
			</parameters>
		</constructor>
		<method name="method" c:identifier="gir_test_object_test_method">
			<doc xml:space="preserve" filename="girtest.vala" line="96" column="3">&lt;para&gt;An example comment for an example class method.&lt;/para&gt;</doc>
			<return-value transfer-ownership="full">
				<doc xml:space="preserve" filename="girtest.vala" line="96" column="3">&lt;para&gt;An example comment for an example return value. &lt;/para&gt;</doc>
				<type name="gboolean" c:type="gboolean"/>
			</return-value>
			<parameters>
				<instance-parameter name="self" transfer-ownership="none">
					<type name="GirTest.ObjectTest" c:type="GirTestObjectTest*"/>
				</instance-parameter>
				<parameter name="param" transfer-ownership="none">
					<doc xml:space="preserve" filename="girtest.vala" line="96" column="3">&lt;para&gt;An example comment for an example parameter. &lt;/para&gt;</doc>
					<type name="gint" c:type="gint"/>
				</parameter>
			</parameters>
		</method>
		<property name="property" writable="1" construct="1">
			<doc xml:space="preserve" filename="girtest.vala" line="79" column="3">&lt;para&gt;An example comment for an example property.&lt;/para&gt;</doc>
			<type name="gint" c:type="gint"/>
		</property>
		<method name="get_property" c:identifier="gir_test_object_test_get_property">
			<return-value transfer-ownership="none">
				<type name="gint" c:type="gint"/>
			</return-value>
			<parameters>
				<instance-parameter name="self" transfer-ownership="none">
					<type name="GirTest.ObjectTest" c:type="GirTestObjectTest*"/>
				</instance-parameter>
			</parameters>
		</method>
		<method name="set_property" c:identifier="gir_test_object_test_set_property">
			<return-value transfer-ownership="none">
				<type name="none" c:type="void"/>
			</return-value>
			<parameters>
				<instance-parameter name="self" transfer-ownership="none">
					<type name="GirTest.ObjectTest" c:type="GirTestObjectTest*"/>
				</instance-parameter>
				<parameter name="value" transfer-ownership="none">
					<type name="gint" c:type="gint"/>
				</parameter>
			</parameters>
		</method>
		<glib:signal name="some-signal">
			<doc xml:space="preserve" filename="girtest.vala" line="83" column="3">&lt;para&gt;An example comment for an example signal.&lt;/para&gt;</doc>
			<return-value transfer-ownership="full">
				<type name="none" c:type="void"/>
			</return-value>
			<parameters>
				<parameter name="param" transfer-ownership="none">
					<doc xml:space="preserve" filename="girtest.vala" line="83" column="3">&lt;para&gt;An example comment for an example parameter. &lt;/para&gt;</doc>
					<type name="gint" c:type="gint"/>
				</parameter>
			</parameters>
		</glib:signal>
	</class>
	<record name="ObjectTestClass" c:type="GirTestObjectTestClass" glib:is-gtype-struct-for="ObjectTest">
		<field name="parent_class" readable="0" private="1">
			<type name="GObject.ObjectClass" c:type="GObjectClass"/>
		</field>
	</record>
	<record name="ObjectTestPrivate" c:type="GirTestObjectTestPrivate" disguised="1"/>
	<interface name="InterfaceTest" c:type="GirTestInterfaceTest" c:symbol-prefix="interface_test" glib:type-name="GirTestInterfaceTest" glib:get-type="gir_test_interface_test_get_type" glib:type-struct="InterfaceTestIface">
		<doc xml:space="preserve" filename="girtest.vala" line="62" column="2">&lt;para&gt;An example comment for an example interface.&lt;/para&gt;</doc>
		<prerequisite name="GObject.Object"/>
		<method name="method" c:identifier="gir_test_interface_test_method">
			<doc xml:space="preserve" filename="girtest.vala" line="66" column="3">&lt;para&gt;An example comment for an example interface method.&lt;/para&gt;</doc>
			<return-value transfer-ownership="full">
				<doc xml:space="preserve" filename="girtest.vala" line="66" column="3">&lt;para&gt;An example comment for an example return value. &lt;/para&gt;</doc>
				<type name="gboolean" c:type="gboolean"/>
			</return-value>
			<parameters>
				<instance-parameter name="self" transfer-ownership="none">
					<type name="GirTest.InterfaceTest" c:type="GirTestInterfaceTest*"/>
				</instance-parameter>
				<parameter name="param" transfer-ownership="none">
					<doc xml:space="preserve" filename="girtest.vala" line="66" column="3">&lt;para&gt;An example comment for an example parameter. &lt;/para&gt;</doc>
					<type name="gint" c:type="gint"/>
				</parameter>
			</parameters>
		</method>
		<virtual-method name="method" invoker="method">
			<doc xml:space="preserve" filename="girtest.vala" line="66" column="3">&lt;para&gt;An example comment for an example interface method.&lt;/para&gt;</doc>
			<return-value transfer-ownership="full">
				<doc xml:space="preserve" filename="girtest.vala" line="66" column="3">&lt;para&gt;An example comment for an example return value. &lt;/para&gt;</doc>
				<type name="gboolean" c:type="gboolean"/>
			</return-value>
			<parameters>
				<instance-parameter name="self" transfer-ownership="none">
					<type name="GirTest.InterfaceTest" c:type="GirTestInterfaceTest*"/>
				</instance-parameter>
				<parameter name="param" transfer-ownership="none">
					<doc xml:space="preserve" filename="girtest.vala" line="66" column="3">&lt;para&gt;An example comment for an example parameter. &lt;/para&gt;</doc>
					<type name="gint" c:type="gint"/>
				</parameter>
			</parameters>
		</virtual-method>
	</interface>
	<record name="InterfaceTestIface" c:type="GirTestInterfaceTestIface" glib:is-gtype-struct-for="InterfaceTest">
		<field name="parent_iface" readable="0" private="1">
			<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
		</field>
		<field name="method">
			<callback name="method" c:type="method">
				<return-value transfer-ownership="full">
					<type name="gboolean" c:type="gboolean"/>
				</return-value>
				<parameters>
					<parameter name="self" transfer-ownership="none">
						<type name="GirTest.InterfaceTest" c:type="GirTestInterfaceTest*"/>
					</parameter>
					<parameter name="param" transfer-ownership="none">
						<doc xml:space="preserve" filename="girtest.vala" line="66" column="3">&lt;para&gt;An example comment for an example parameter. &lt;/para&gt;</doc>
						<type name="gint" c:type="gint"/>
					</parameter>
				</parameters>
			</callback>
		</field>
	</record>
	<record name="StructTest" c:type="GirTestStructTest" c:symbol-prefix="struct_test" glib:type-name="GirTestStructTest" glib:get-type="gir_test_struct_test_get_type">
		<doc xml:space="preserve" filename="girtest.vala" line="14" column="2">&lt;para&gt;An example comment for an example struct.&lt;/para&gt;</doc>
		<field name="field" writable="1">
			<doc xml:space="preserve" filename="girtest.vala" line="18" column="3">&lt;para&gt;An example comment for an example field.&lt;/para&gt;</doc>
			<type name="gint" c:type="gint"/>
		</field>
		<method name="init" c:identifier="gir_test_struct_test_init">
			<doc xml:space="preserve" filename="girtest.vala" line="22" column="3">&lt;para&gt;An example comment for an example struct constructor.&lt;/para&gt;</doc>
			<return-value transfer-ownership="none">
				<type name="none" c:type="void"/>
			</return-value>
			<parameters>
				<instance-parameter name="self" direction="out" transfer-ownership="none" caller-allocates="1">
					<type name="GirTest.StructTest" c:type="GirTestStructTest*"/>
				</instance-parameter>
				<parameter name="param" transfer-ownership="none">
					<doc xml:space="preserve" filename="girtest.vala" line="22" column="3">&lt;para&gt;An example comment for an example parameter. &lt;/para&gt;</doc>
					<type name="gint" c:type="gint"/>
				</parameter>
			</parameters>
		</method>
		<method name="method" c:identifier="gir_test_struct_test_method">
			<doc xml:space="preserve" filename="girtest.vala" line="29" column="3">&lt;para&gt;An example comment for an example struct method.&lt;/para&gt;</doc>
			<return-value transfer-ownership="full">
				<doc xml:space="preserve" filename="girtest.vala" line="29" column="3">&lt;para&gt;An example comment for an example return value. &lt;/para&gt;</doc>
				<type name="gboolean" c:type="gboolean"/>
			</return-value>
			<parameters>
				<instance-parameter name="self" transfer-ownership="none" nullable="1">
					<type name="GirTest.StructTest" c:type="GirTestStructTest*"/>
				</instance-parameter>
				<parameter name="param" transfer-ownership="none">
					<doc xml:space="preserve" filename="girtest.vala" line="29" column="3">&lt;para&gt;An example comment for an example parameter. &lt;/para&gt;</doc>
					<type name="gint" c:type="gint"/>
				</parameter>
			</parameters>
		</method>
	</record>
	<callback name="DelegateTest" c:type="GirTestDelegateTest">
		<doc xml:space="preserve" filename="girtest.vala" line="54" column="2">&lt;para&gt;An example comment for an example delegate.&lt;/para&gt;</doc>
		<return-value transfer-ownership="full">
			<doc xml:space="preserve" filename="girtest.vala" line="54" column="2">&lt;para&gt;An example comment for an example return value. &lt;/para&gt;</doc>
			<type name="gboolean" c:type="gboolean"/>
		</return-value>
		<parameters>
			<parameter name="param" transfer-ownership="none">
				<doc xml:space="preserve" filename="girtest.vala" line="54" column="2">&lt;para&gt;An example comment for an example parameter. &lt;/para&gt;</doc>
				<type name="gint" c:type="gint"/>
			</parameter>
			<parameter name="user_data" transfer-ownership="none" closure="1">
				<type name="gpointer" c:type="void*"/>
			</parameter>
		</parameters>
	</callback>
	<constant name="CONSTANT" c:identifier="GIR_TEST_CONSTANT" value="42">
		<doc xml:space="preserve" filename="girtest.vala" line="3" column="2">&lt;para&gt;An example comment for an example constant.&lt;/para&gt;</doc>
		<type name="gint" c:type="gint"/>
	</constant>
	<function name="function" c:identifier="gir_test_function">
		<doc xml:space="preserve" filename="girtest.vala" line="8" column="2">&lt;para&gt;An example comment for an example function.&lt;/para&gt;</doc>
		<return-value transfer-ownership="full">
			<type name="none" c:type="void"/>
		</return-value>
	</function>
</namespace>
</repository>