blob: 22aa65171266bf02bb5e9bc66cea89fef7e66694 (
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="GIRepository.arg_info_is_caller_allocates"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
<api:function>
<api:returns>
<api:type>gboolean</api:type>
</api:returns>
<api:name>g_arg_info_is_caller_allocates</api:name>
<api:arg>
<api:type>GIArgInfo*</api:type>
<api:name>info</api:name>
</api:arg>
</api:function>
</info>
<title>g_arg_info_is_caller_allocates</title>
<synopsis><code mime="text/x-csrc">
gboolean g_arg_info_is_caller_allocates (GIArgInfo* info);
</code></synopsis>
<p>Obtain if the argument is a pointer to a struct or object that will
receive an output of a function. The default assumption for
%GI_DIRECTION_OUT arguments which have allocation is that the
callee allocates; if this is %TRUE, then the caller must allocate.</p>
<table>
<tr>
<td><p>info :</p></td>
<td><p>a <link xref="GIRepository.ArgInfo">GIRepository.ArgInfo</link></p></td>
</tr>
<tr>
<td><p>Returns :</p></td>
<td><p>%TRUE if caller is required to have allocated the argument</p></td>
</tr>
</table>
</page>
|