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

<page id="GIRepository.constant_info_get_type"
      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.TypeInfo</api:type>
      </api:returns>
      <api:name>g_constant_info_get_type</api:name>
      <api:arg>
        <api:type>GIRepository.ConstantInfo</api:type>
        <api:name>info</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>constant_info_get_type</title>
<synopsis><code mime="text/x-python">
@accepts(GIRepository.ConstantInfo)
@returns(GIRepository.TypeInfo)
def constant_info_get_type(info)
</code></synopsis>
<p>Obtain the type of the constant as a <link xref="GIRepository.TypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p>

<table>
<tr>
<td><p>info :</p></td>
<td><p>a <link xref="GIRepository.ConstantInfo">GIConstantInfo</link></p></td>
</tr>
<tr>
<td><p>Returns :</p></td>
<td><p>the <link xref="GIRepository.TypeInfo">GITypeInfo</link>. Free the struct by calling</p></td>
</tr>
</table>
</page>