You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
256 B

#[cxx::bridge]
mod ffi {
unsafe extern "C++" {
type C;
fn get_ptr_to_reference() -> *mut &C;
fn get_uniqueptr_to_ptr() -> UniquePtr<*mut C>;
fn get_vector_of_ptr() -> UniquePtr<CxxVector<*mut C>>;
}
}
fn main() {}