Imported Upstream version 1.40.0
[platform/upstream/gobject-introspection.git] / tests / scanner / Regress-1.0-Gjs-expected / Regress.TestObj.do_matrix.page
1 <?xml version="1.0"?>
2 <page id="Regress.TestObj.do_matrix"
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.TestObj" group="method" type="guide"/>
10     <api:function>
11       <api:returns>
12         <api:type>Number(gint)</api:type>
13       </api:returns>
14       <api:name>regress_test_obj_do_matrix</api:name>
15       <api:arg>
16         <api:type>String</api:type>
17         <api:name>somestr</api:name>
18       </api:arg>
19     </api:function>
20   </info>
21   <title>Regress.TestObj.prototype.do_matrix</title>
22   <synopsis><code mime="text/x-gjs">
23 function do_matrix(somestr: String): Number(gint) {
24     // Gjs wrapper for regress_test_obj_do_matrix()
25 }
26   </code></synopsis>
27   <p>This method is virtual.  Notably its name differs from the virtual
28 slot name, which makes it useful for testing bindings handle this
29 case.</p>
30
31 <terms>
32 <item>
33 <title><code>somestr</code></title>
34   <p>Meaningless string</p>
35 </item>
36 <item>
37 <title><code>Returns</code></title>
38
39 </item>
40 </terms>
41
42 </page>