@floooh Do you have recommendations for tagged unions in C API?
I have a case in skribidi (styling https://github.com/memononen/Skribidi/issues/49#issuecomment-2973298601) which is a good fit for tagged union.
I did see that you reverted some union use in Sokol in a "bindgen preparations" CL way back in 2020. Smells like a minefield for language interop?
In my case I would be fine having a function for initializing the whole struct, or having a getter function to poke the specific struct out. Sort of opaque value struct :)