gint g_struct_info_get_n_fields GIStructInfo* info g_struct_info_get_n_fields gint g_struct_info_get_n_fields (GIStructInfo* info);

Obtain the number of fields this structure has.

info :

a GIRepository.StructInfo

Returns :

number of fields