transparent_union

Previous Specifying Attributes of Variables Next

This attribute, attached to a function parameter which is a union, means that the corresponding argument may have the type of any union member, but the argument is passed as if its type were that of the first union member. For more details, see the transparent_union type attribute. You can also use this attribute on a typedef for a union data type; then it applies to all function parameters with that type.