Support for codegenDecl for types sounds as interesting idea. File a feature request and PR is welcome.
What you can do now: emit your custom type using emit pragma and importc/importcpp declared type
Support for codegenDecl for types sounds as interesting idea. File a feature request and PR is welcome.
What you can do now: emit your custom type using emit pragma and importc/importcpp declared type