Marshalling C unions