get_discriminator
Description:
Obtain discriminator value assigned for n-th union field, i.e. n-th union field is the active one if discriminator contains this constant.
Parameters:
| n |
a union field index |
| info |
Returns:
|
the ConstantInfo, free it with |