union

    To create an instance of a union use :

    This allocates the union on the stack.

    To avoid this initialization you can use :

    You can set and get its properties:

    A C union is passed by value (as a copy) to functions and methods, and also passed by value when it is returned from a method:

    Refer to the type grammar for the notation used in union field types.