0.1.41
- Support Vec<TransparentEnum> #117
// For example, the following is now possible: #[swift_bridge::bridge] mod ffi { enum SomeEnum { VariantA, VariantB, } extern "Rust" { fn some_function(arg: Vec<SomeEnum>) -> Vec<SomeEnum>; } }
// For example, the following is now possible:
#[swift_bridge::bridge]
mod ffi {
enum SomeEnum {
VariantA,
VariantB,
}
extern "Rust" {
fn some_function(arg: Vec<SomeEnum>) -> Vec<SomeEnum>;
}
}