Open phadej opened 1 month ago
As regards the first point, I think they should probably be newtype
s, so that they can be given different class instances; see also discussion at https://github.com/well-typed/hs-bindgen/issues/168#issuecomment-2365065773 .
Should we translate
typedef
s asnewtype
s ortype
s?E.g.
as
or
or should this be (eventually configuble?)
What about anonymous structs and enums?
currently we combine:
or should we still use
type
/newtype
over a representation of anonymous structs/enums/unions?