blob: 343ae75ba030e8b04c0129ad54155aa3c8ff4591 (
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
|
<?xml version="1.0"?>
<page id="GIRepository.field_info_get_offset"
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>gint</api:type>
</api:returns>
<api:name>g_field_info_get_offset</api:name>
<api:arg>
<api:type>GIFieldInfo*</api:type>
<api:name>info</api:name>
</api:arg>
</api:function>
</info>
<title>g_field_info_get_offset</title>
<synopsis><code mime="text/x-csrc">
gint g_field_info_get_offset (GIFieldInfo* info);
</code></synopsis>
<p>Obtain the offset in bits of the field member, this is relative
to the beginning of the struct or union.</p>
<table>
<tr>
<td><p>info :</p></td>
<td><p>a <link xref="GIRepository.FieldInfo">GIRepository.FieldInfo</link></p></td>
</tr>
<tr>
<td><p>Returns :</p></td>
<td><p>the field offset</p></td>
</tr>
</table>
</page>
|