Imported Upstream version 1.40.0
[platform/upstream/gobject-introspection.git] / tests / scanner / Regress-1.0-Gjs-expected / Regress.AnnotationObject.set_data.page
1 <?xml version="1.0"?>
2 <page id="Regress.AnnotationObject.set_data"
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>void</api:type>
13       </api:returns>
14       <api:name>regress_annotation_object_set_data</api:name>
15       <api:arg>
16         <api:type>ByteArray</api:type>
17         <api:name>data</api:name>
18       </api:arg>
19     </api:function>
20   </info>
21   <title>Regress.AnnotationObject.prototype.set_data</title>
22   <synopsis><code mime="text/x-gjs">
23 function set_data(data: ByteArray): void {
24     // Gjs wrapper for regress_annotation_object_set_data()
25 }
26   </code></synopsis>
27   <p>Test taking a guchar * with a length.</p>
28
29 <terms>
30 <item>
31 <title><code>data</code></title>
32   <p>The data</p>
33 </item>
34 </terms>
35
36 </page>