Imported Upstream version 1.40.0
[platform/upstream/gobject-introspection.git] / tests / scanner / Regress-1.0-Gjs-expected / Regress.annotation_custom_destroy.page
1 <?xml version="1.0"?>
2 <page id="Regress.annotation_custom_destroy"
3       type="topic"
4       style="function"
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="index" group="function" type="guide"/>
10     <api:function>
11       <api:returns>
12         <api:type>void</api:type>
13       </api:returns>
14       <api:name>regress_annotation_custom_destroy</api:name>
15       <api:arg>
16         <api:type>Regress.AnnotationCallback</api:type>
17         <api:name>callback</api:name>
18       </api:arg>
19     </api:function>
20   </info>
21   <title>Regress.annotation_custom_destroy</title>
22   <synopsis><code mime="text/x-gjs">
23 function annotation_custom_destroy(callback: <link xref="Regress.AnnotationCallback">Regress.AnnotationCallback</link>): void {
24     // Gjs wrapper for regress_annotation_custom_destroy()
25 }
26   </code></synopsis>
27   <p>Test messing up the heuristic of closure/destroy-notification
28 detection, and fixing it via annotations.</p>
29
30 <terms>
31 <item>
32 <title><code>callback</code></title>
33   <p>Destroy notification</p>
34 </item>
35 </terms>
36
37 </page>