cxx/tests/ui/by_value_not_supported.rs
2020-05-01 10:00:17 -07:00

23 lines
287 B
Rust

#[cxx::bridge]
mod ffi {
struct S {
c: C,
r: R,
s: CxxString,
}
extern "C" {
type C;
}
extern "Rust" {
type R;
fn f(c: C) -> C;
fn g(r: R) -> R;
fn h(s: CxxString) -> CxxString;
}
}
fn main() {}