gint g_type_info_get_array_length GIRepository.TypeInfo info type_info_get_array_length @accepts(GIRepository.TypeInfo) @returns(gint) def type_info_get_array_length(info)

Obtain the array length of the type. The type tag must be a GI_TYPE_TAG_ARRAY or -1 will returned.

info :

a GIRepository.TypeInfo

Returns :

the array length, or -1 if the type is not an array