Method

GIRepositoryFieldInfoget_offset

since: 2.80

Declaration

size_t
gi_field_info_get_offset (
  GIFieldInfo* info
)

Description

Obtain the offset of the field member, in bytes. This is relative to the beginning of the struct or union.

Available since: 2.80

Return value

Type: size_t

The field offset, in bytes.