fwd/vendor/cxx/tests/ui/ptr_unsupported.rs
John Doty 9c435dc440 Vendor dependencies
Let's see how I like this workflow.
2022-12-19 08:38:22 -08:00

12 lines
256 B
Rust

#[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() {}