gint g_struct_info_get_n_fields GIRepository.StructInfo info struct_info_get_n_fields @accepts(GIRepository.StructInfo) @returns(gint) def struct_info_get_n_fields(info)

Obtain the number of fields this structure has.

info :

a GIRepository.StructInfo

Returns :

number of fields