Imported Upstream version 1.40.0
[platform/upstream/gobject-introspection.git] / tests / scanner / Regress-1.0-Gjs-expected / Regress.test_callback_thaw_notifications.page
1 <?xml version="1.0"?>
2 <page id="Regress.test_callback_thaw_notifications"
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_thaw_notifications</api:name>
15     </api:function>
16   </info>
17   <title>Regress.test_callback_thaw_notifications</title>
18   <synopsis><code mime="text/x-gjs">
19 function test_callback_thaw_notifications(): Number(gint) {
20     // Gjs wrapper for regress_test_callback_thaw_notifications()
21 }
22   </code></synopsis>
23   <p>Invokes all callbacks installed by #test_callback_destroy_notify(),
24 adding up their return values, and removes them, invoking the
25 corresponding destroy notfications.</p>
26
27 <terms>
28 <item>
29 <title><code>Returns</code></title>
30   <p>Sum of the return values of the invoked callbacks.</p>
31 </item>
32 </terms>
33
34 </page>