1 <?xml version="1.0" encoding="UTF-8"?>
3 <tests xmlns="http://schemas.gnome.org/gobject-introspection/2013/test">
7 * annotation_object_string_out:
9 * Test returning a string as an out parameter
11 * Returns: (allow-none): some boolean
16 <name>annotation_object_string_out</name>
18 <description>Test returning a string as an out parameter</description>
24 <name>allow-none</name>
27 <description>some boolean</description>
33 * annotation_object_string_out:
35 * Test returning a string as an out parameter
37 * Returns: (allow-none): some boolean
43 * annotation_object_string_out:
45 * Test returning a string as an out parameter
47 * Returns: (allow-none)): some boolean
52 <name>annotation_object_string_out</name>
54 <description>Test returning a string as an out parameter</description>
62 <message>6: Error: Test: unbalanced parentheses, annotations will be ignored:
63 * Returns: (allow-none)): some boolean
68 * annotation_object_string_out:
70 * Test returning a string as an out parameter
78 * test_unexpected_tag:
79 * @param1: first parameter
82 * Tags should go after the comment block description
87 <name>test_unexpected_tag</name>
92 <description>first parameter</description>
98 <description>something
100 Tags should go after the comment block description</description>
106 * test_unexpected_tag:
107 * @param1: first parameter
111 * Tags should go after the comment block description
117 Deprecated "Return value:" tag
120 * annotation_object_string_out:
122 * Test returning a string as an out parameter
124 * Return value: (allow-none): some boolean
129 <name>annotation_object_string_out</name>
131 <description>Test returning a string as an out parameter</description>
137 <name>allow-none</name>
140 <description>some boolean</description>
146 * annotation_object_string_out:
148 * Test returning a string as an out parameter
150 * Returns: (allow-none): some boolean
156 Deprecated "@returns" as a parameter
159 * annotation_object_string_out:
160 * @returns: (allow-none): some boolean
162 * Test returning a string as an out parameter
167 <name>annotation_object_string_out</name>
169 <description>Test returning a string as an out parameter</description>
175 <name>allow-none</name>
178 <description>some boolean</description>
184 * annotation_object_string_out:
186 * Test returning a string as an out parameter
188 * Returns: (allow-none): some boolean
194 Variation of "@returns" as a parameter
197 * annotation_object_string_out:
198 * @returns: (allow-none)): some boolean
200 * Test returning a string as an out parameter
205 <name>annotation_object_string_out</name>
207 <description>Test returning a string as an out parameter</description>
215 <message>3: Error: Test: unbalanced parentheses, annotations will be ignored:
216 * @returns: (allow-none)): some boolean
221 * annotation_object_string_out:
223 * Test returning a string as an out parameter
231 Variation of "@returns" as a parameter
234 * annotation_object_string_out:
237 * Test returning a string as an out parameter
242 <name>annotation_object_string_out</name>
244 <description>Test returning a string as an out parameter</description>
253 * annotation_object_string_out:
255 * Test returning a string as an out parameter
263 Variation of multiple "Returns:" notations
266 * test_multiple_returns_tag_and_parameter:
268 * Multiple return value warnings are checked for when a returns
269 * parameter is encountered.
271 * Return Value: something
272 * @returns: something else
277 <name>test_multiple_returns_tag_and_parameter</name>
279 <description>Multiple return value warnings are checked for when a returns
280 parameter is encountered.</description>
284 <description>something else</description>
289 <message>8: Warning: Test: "@returns" parameter unexpected at this location:
290 * @returns: something else
292 <message>8: Error: Test: encountered multiple "Returns" parameters or tags for "test_multiple_returns_tag_and_parameter".</message>
296 * test_multiple_returns_tag_and_parameter:
298 * Multiple return value warnings are checked for when a returns
299 * parameter is encountered.
301 * Returns: something else
307 Variation of multiple "Returns:" notations
310 * test_multiple_returns_tag_and_parameter:
311 * @returns: something
313 * Multiple return value warnings are checked for when a returns
314 * parameter is encountered.
316 * Return Value: something else
321 <name>test_multiple_returns_tag_and_parameter</name>
323 <description>Multiple return value warnings are checked for when a returns
324 parameter is encountered.</description>
328 <description>something else</description>
333 <message>8: Error: Test: encountered multiple return value parameters or tags for "test_multiple_returns_tag_and_parameter".</message>
337 * test_multiple_returns_tag_and_parameter:
339 * Multiple return value warnings are checked for when a returns
340 * parameter is encountered.
342 * Returns: something else
348 Variation of multiple "Returns:" notations
351 * test_multiple_returns_tag_and_parameter:
352 * @returns: something
354 * Multiple return value warnings are checked for when a returns
355 * parameter is encountered.
357 * Returns: something else
362 <name>test_multiple_returns_tag_and_parameter</name>
364 <description>Multiple return value warnings are checked for when a returns
365 parameter is encountered.</description>
369 <description>something else</description>
374 <message>8: Error: Test: encountered multiple return value parameters or tags for "test_multiple_returns_tag_and_parameter".</message>
378 * test_multiple_returns_tag_and_parameter:
380 * Multiple return value warnings are checked for when a returns
381 * parameter is encountered.
383 * Returns: something else
389 * gtk_rc_get_im_module_path:
390 * @returns: a newly-allocated string containing the path in which to
391 * look for IM modules.
393 * Obtains the path in which to look for IM modules. See the documentation
394 * of the <link linkend="im-module-path"><envar>GTK_PATH</envar></link>
395 * environment variable for more details about looking up modules. This
396 * function is useful solely for utilities supplied with GTK+ and should
397 * not be used by applications under normal circumstances.
402 <name>gtk_rc_get_im_module_path</name>
404 <description><![CDATA[Obtains the path in which to look for IM modules. See the documentation
405 of the <link linkend="im-module-path"><envar>GTK_PATH</envar></link>
406 environment variable for more details about looking up modules. This
407 function is useful solely for utilities supplied with GTK+ and should
408 not be used by applications under normal circumstances.]]></description>
412 <description>a newly-allocated string containing the path in which to
413 look for IM modules.</description>
419 * gtk_rc_get_im_module_path:
421 * Obtains the path in which to look for IM modules. See the documentation
422 * of the <link linkend="im-module-path"><envar>GTK_PATH</envar></link>
423 * environment variable for more details about looking up modules. This
424 * function is useful solely for utilities supplied with GTK+ and should
425 * not be used by applications under normal circumstances.
427 * Returns: a newly-allocated string containing the path in which to
428 * look for IM modules.
434 Technically not a valid Returns: tag, but we need to support this for backwards compatibility
435 with the old annotationparser.
438 * clutter_text_coords_to_position:
439 * @self: a #ClutterText
440 * @x: the X coordinate, relative to the actor
441 * @y: the Y coordinate, relative to the actor
443 * Retrieves the position of the character at the given coordinates.
445 * Return: the position of the character
452 <name>clutter_text_coords_to_position</name>
457 <description>a #ClutterText</description>
461 <description>the X coordinate, relative to the actor</description>
465 <description>the Y coordinate, relative to the actor</description>
468 <description>Retrieves the position of the character at the given coordinates.</description>
472 <description>the position of the character</description>
482 * clutter_text_coords_to_position:
483 * @self: a #ClutterText
484 * @x: the X coordinate, relative to the actor
485 * @y: the Y coordinate, relative to the actor
487 * Retrieves the position of the character at the given coordinates.
489 * Returns: the position of the character
496 Technically not a valid Returns: tag, but we need to support this for backwards compatibility
497 with the old annotationparser.
500 * clutter_text_coords_to_position:
501 * @self: a #ClutterText
502 * @x: the X coordinate, relative to the actor
503 * @y: the Y coordinate, relative to the actor
505 * Retrieves the position of the character at the given coordinates.
507 * Returns value: the position of the character
514 <name>clutter_text_coords_to_position</name>
519 <description>a #ClutterText</description>
523 <description>the X coordinate, relative to the actor</description>
527 <description>the Y coordinate, relative to the actor</description>
530 <description>Retrieves the position of the character at the given coordinates.</description>
534 <description>the position of the character</description>
544 * clutter_text_coords_to_position:
545 * @self: a #ClutterText
546 * @x: the X coordinate, relative to the actor
547 * @y: the Y coordinate, relative to the actor
549 * Retrieves the position of the character at the given coordinates.
551 * Returns: the position of the character
558 * annotation_object_string_out:
560 * Test returning a string as an out parameter
562 * Returns: (out): some boolean
567 <name>annotation_object_string_out</name>
569 <description>Test returning a string as an out parameter</description>
578 <description>some boolean</description>
583 <message>6: Warning: Test: unexpected annotation: out</message>
587 * annotation_object_string_out:
589 * Test returning a string as an out parameter
591 * Returns: (out): some boolean