Imported Upstream version 1.40.0
[platform/upstream/gobject-introspection.git] / tests / scanner / Regress-1.0-Gjs-expected / Regress.AnnotationObject.string_out.page
1 <?xml version="1.0"?>
2 <page id="Regress.AnnotationObject.string_out"
3       type="topic"
4       style="method"
5       xmlns="http://projectmallard.org/1.0/"
6       xmlns:api="http://projectmallard.org/experimental/api/"
7       xmlns:ui="http://projectmallard.org/1.0/ui/">
8   <info>
9     <link xref="Regress.AnnotationObject" group="method" type="guide"/>
10     <api:function>
11       <api:returns>
12         <api:type>Boolean</api:type>
13       </api:returns>
14       <api:name>regress_annotation_object_string_out</api:name>
15     </api:function>
16   </info>
17   <title>Regress.AnnotationObject.prototype.string_out</title>
18   <synopsis><code mime="text/x-gjs">
19 function string_out(): [ok: Boolean, str_out: String] {
20     // Gjs wrapper for regress_annotation_object_string_out()
21 }
22   </code></synopsis>
23   <p>Test returning a string as an out parameter</p>
24
25 <terms>
26 <item>
27 <title><code>ok</code></title>
28   <p>some boolean</p>
29 </item>
30 <item>
31 <title><code>str_out</code></title>
32   <p>string return value</p>
33 </item>
34 </terms>
35
36 </page>