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

<page id="GIRepository.enum_info_get_storage_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.TypeTag</api:type>
      </api:returns>
      <api:name>g_enum_info_get_storage_type</api:name>
      <api:arg>
        <api:type>GIRepository.EnumInfo</api:type>
        <api:name>info</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>enum_info_get_storage_type</title>
<synopsis><code mime="text/x-python">
@accepts(GIRepository.EnumInfo)
@returns(GIRepository.TypeTag)
def enum_info_get_storage_type(info)
</code></synopsis>
<p>Obtain the tag of the type used for the enum in the C ABI. This will
will be a signed or unsigned integral type.
Note that in the current implementation the width of the type is
computed correctly, but the signed or unsigned nature of the type
may not match the sign of the type used by the C compiler.</p>

<table>
<tr>
<td><p>info :</p></td>
<td><p>a <link xref="GIEnumInfo">GIEnumInfo</link></p></td>
</tr>
<tr>
<td><p>Returns :</p></td>
<td><p>the storage type for the enumeration</p></td>
</tr>
</table>
</page>