Open
Description
Using a union in a type is valid in DL but generates a header where the union type is declared after the struct that uses it.
I can work around this by using a pointer to the union in the type but preferably I would like it built in. One solution would be to sort the types and unions on dependencies (types and union only depending on PODs first etc.)