Imported Upstream version 1.40.0
[platform/upstream/gobject-introspection.git] / tests / scanner / Regress-1.0-Gjs-expected / Regress.AnnotationObject.get_strings.page
1 <?xml version="1.0"?>
2 <page id="Regress.AnnotationObject.get_strings"
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>Array(String)</api:type>
13       </api:returns>
14       <api:name>regress_annotation_object_get_strings</api:name>
15     </api:function>
16   </info>
17   <title>Regress.AnnotationObject.prototype.get_strings</title>
18   <synopsis><code mime="text/x-gjs">
19 function get_strings(): Array(String) {
20     // Gjs wrapper for regress_annotation_object_get_strings()
21 }
22   </code></synopsis>
23   <p>This is a test for returning a list of strings, where
24 each string needs to be freed.</p>
25
26 <terms>
27 <item>
28 <title><code>Returns</code></title>
29   <p>list of strings</p>
30 </item>
31 </terms>
32
33 </page>