Obtain the type of the constant as a TypeInfo.
a ConstantInfo
the TypeInfo. Free the struct by calling g_base_info_unref when done.
g_base_info_unref