cxx 0.3.6

Safe interop between Rust and C++
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[cxx::bridge]
mod ffi {
    enum A {
        V1 = 10,
        V2 = 10,
    }

    enum B {
        V1 = 10,
        V2,
        V3 = 11,
    }
}

fn main() {}