summaryrefslogtreecommitdiff
path: root/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function_pointer.page
blob: aa69e86322f289af1547838112ecd2d496f986cc (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
<?xml version="1.0"?>

<page id="GIRepository.object_info_get_unref_function_pointer"
      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>GIRepository.ObjectInfoUnrefFunction</api:type>
      </api:returns>
      <api:name>g_object_info_get_unref_function_pointer</api:name>
      <api:arg>
        <api:type>GIRepository.ObjectInfo</api:type>
        <api:name>info</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>object_info_get_unref_function_pointer</title>
<synopsis><code mime="text/x-python">
@accepts(GIRepository.ObjectInfo)
@returns(GIRepository.ObjectInfoUnrefFunction)
def object_info_get_unref_function_pointer(info)
</code></synopsis>
<p>Obtain a pointer to a function which can be used to
decrease the reference count an instance of this object type.
This takes derivation into account and will reversely traverse
the base classes of this type, starting at the top type.</p>

<table>
<tr>
<td><p>info :</p></td>
<td><p>a <link xref="GIObjectInfo">GIObjectInfo</link></p></td>
</tr>
<tr>
<td><p>Returns :</p></td>
<td><p>the function pointer or None</p></td>
</tr>
</table>
</page>