Skip to content

0.1.41

Compare
Choose a tag to compare
@chinedufn chinedufn released this 28 Oct 19:38
· 123 commits to master since this release
e2da694
  • 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>;
        }
    }