mozilla / uniffi-rs

a multi-language bindings generator for rust
https://mozilla.github.io/uniffi-rs/
Mozilla Public License 2.0
2.87k stars 232 forks source link

Kotlin classes can inherit from traits. #2297

Closed mhammond closed 2 weeks ago

mhammond commented 3 weeks ago

Builds on #2204 which landed the metadata and Python support.

mhammond commented 2 weeks ago

turned out to be a few minor issues with callback interfaces. Then I discovered the trait and struct for that fixture both had the same method with different signatures 🙃 That's an interesting edge-case for the future, but I just avoided doing that for now. Fixed all that and a couple of other tweaks but all of which were sane and small enough that I didn't think it needed a new review.