blob: bae0cbc540900caba3a29663f2ff8e8a51a88615 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
<?xml version="1.0"?>
<page id="Regress.test_callback_user_data"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link xref="index" group="function" type="guide"/>
<api:function>
<api:returns>
<api:type>Number(gint)</api:type>
</api:returns>
<api:name>regress_test_callback_user_data</api:name>
<api:arg>
<api:type>Regress.TestCallbackUserData</api:type>
<api:name>callback</api:name>
</api:arg>
</api:function>
</info>
<title>Regress.test_callback_user_data</title>
<synopsis><code mime="text/x-gjs">
function test_callback_user_data(callback: <link xref="Regress.TestCallbackUserData">Regress.TestCallbackUserData</link>): Number(gint) {
// Gjs wrapper for regress_test_callback_user_data()
}
</code></synopsis>
<p>Call - callback parameter persists for the duration of the method
call and can be released on return.</p>
<terms>
<item>
<title><code>callback</code></title>
</item>
<item>
<title><code>Returns</code></title>
</item>
</terms>
</page>
|