Imported Upstream version 1.40.0
[platform/upstream/gobject-introspection.git] / tests / scanner / Regress-1.0-Gjs-expected / Regress.test_callback_destroy_notify.page
1 <?xml version="1.0"?>
2 <page id="Regress.test_callback_destroy_notify"
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>Number(gint)</api:type>
13       </api:returns>
14       <api:name>regress_test_callback_destroy_notify</api:name>
15       <api:arg>
16         <api:type>Regress.TestCallbackUserData</api:type>
17         <api:name>callback</api:name>
18       </api:arg>
19     </api:function>
20   </info>
21   <title>Regress.test_callback_destroy_notify</title>
22   <synopsis><code mime="text/x-gjs">
23 function test_callback_destroy_notify(callback: <link xref="Regress.TestCallbackUserData">Regress.TestCallbackUserData</link>): Number(gint) {
24     // Gjs wrapper for regress_test_callback_destroy_notify()
25 }
26   </code></synopsis>
27   <p>Notified - callback persists until a DestroyNotify delegate
28 is invoked.</p>
29
30 <terms>
31 <item>
32 <title><code>callback</code></title>
33
34 </item>
35 <item>
36 <title><code>Returns</code></title>
37
38 </item>
39 </terms>
40
41 </page>