GIConstantInfo* g_union_info_get_discriminator (GIUnionInfo* info,
gint n);
Obtain discriminator value assigned for n-th union field, i.e. n-th union field is the active one if discriminator contains this constant.
when done.
info : |
a GIRepository.UnionInfo |
n : |
a union field index |
Returns : |
the GIRepository.ConstantInfo, free it with g_base_info_unref() |