summaryrefslogtreecommitdiff
path: root/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_arg.page
blob: 8f3cbcd1cd0a8e728ed1e65582966f8db34fb45d (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
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0"?>

<page id="GIRepository.callable_info_load_arg"
      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>none</api:type>
      </api:returns>
      <api:name>g_callable_info_load_arg</api:name>
      <api:arg>
        <api:type>GIRepository.CallableInfo</api:type>
        <api:name>info</api:name>
      </api:arg>
      <api:arg>
        <api:type>gint</api:type>
        <api:name>n</api:name>
      </api:arg>
      <api:arg>
        <api:type>GIRepository.ArgInfo</api:type>
        <api:name>arg</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>callable_info_load_arg</title>
<synopsis><code mime="text/x-python">
@accepts(GIRepository.CallableInfo, gint, GIRepository.ArgInfo)
@returns(none)
def callable_info_load_arg(info, n, arg)
</code></synopsis>
<p>Obtain information about a particular argument of this callable; this
function is a variant of g_callable_info_get_arg() designed for stack
allocation.</p><p>The initialized @arg must not be referenced after @info is deallocated.</p>

<table>
<tr>
<td><p>info :</p></td>
<td><p>a <link xref="GIRepository.CallableInfo">GIRepository.CallableInfo</link></p></td>
</tr>
<tr>
<td><p>n :</p></td>
<td><p>the argument index to fetch</p></td>
</tr>
<tr>
<td><p>arg :</p></td>
<td><p>Initialize with argument number @n</p></td>
</tr>
</table>
</page>