mrousavy / nitro

🔥 Insanely fast native C++, Swift or Kotlin modules with a statically compiled binding layer to JSI
https://nitro.margelo.com
MIT License
598 stars 15 forks source link

fix: Forward declare HybridObjects as well in Swift headers #134

Closed mrousavy closed 1 month ago

mrousavy commented 1 month ago

Also throw HybridObject declarations themself into the "known types" list. That way they will be forward declared in the generated Swift headers.