gboolean g_field_info_get_field (GIFieldInfo* field_info,
gpointer mem,
GIArgument* value);
Reads a field identified by a GFieldInfo from a C structure or union. This only handles fields of simple C types. It will fail for a field of a composite type like a nested structure or union even if that is actually readable.
field_info : |
a GIRepository.FieldInfo |
mem : |
pointer to a block of memory representing a C structure or union |
value : |
a GIArgument into which to store the value retrieved |
Returns : |
%TRUE if reading the field succeeded, otherwise %FALSE |