gint g_object_info_get_n_constants (GIObjectInfo* info);
Obtain the number of constants that this object type has.
info :
a GIRepository.ObjectInfo
Returns :
number of constants