FieldInfo
Object Hierarchy:
Description:
[
CCode ( type_id =
"g_base_info_gtype_get_type ()" ) ]
[
Compact ]
public class FieldInfo :
BaseInfo
Content:
Methods:
- public bool get_field (void* mem, Argument value)
Reads a field identified by a FieldInfo from a C
structure or union.
- public FieldInfoFlags get_flags ()
Obtain the flags for this FieldInfo.
- public int get_offset ()
Obtain the offset in bytes of the field member, this is relative to the
beginning of the struct or union.
- public int get_size ()
Obtain the size in bits of the field member, this is how much space you need
to allocate to store the field.
- public TypeInfo get_type ()
Obtain the type of a field as a
TypeInfo.
- public bool set_field (void* mem, Argument value)
Writes a field identified by a FieldInfo to a C
structure or union.
Inherited Members:
All known members inherited from class GI.BaseInfo