G-Golf Field Info low level API.
GIFieldInfo — Struct representing a struct or union field.
GIBaseInfo
+— GIFieldInfo
A GIFieldInfo
struct represents a field of a struct (see
Struct Info), union (see GIUnionInfo
) or an object (see
Object Info). The GIFieldInfo is fetched by calling
g-struct-info-get-field, g-union-info-get-field
or
g-object-info-get-field. A field has a size, type and a struct
offset asssociated and a set of flags, which are currently
readable
or writable
.
Note: in this section, unless otherwise specified, the info
argument is [must be] a pointer to a GIFieldInfo
.
Returns a (possibly empty) list.
Obtains and returns the flags for info, which currently are
readable
or writable
.
Returns an unsigned integer.
Obtains and returns the offset in bytes for info, the field member, this is relative to the beginning of the struct or union.
Returns a pointer.
Obtains and returns the GITypeInfo
for info.
The GITypeInfo
must be freed by calling g-base-info-unref
when done.