• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #[cxx::bridge]
2 mod ffi {
3     unsafe extern "C++" {
4         type C;
5 
get_ptr_to_reference() -> *mut &C6         fn get_ptr_to_reference() -> *mut &C;
get_uniqueptr_to_ptr() -> UniquePtr<*mut C>7         fn get_uniqueptr_to_ptr() -> UniquePtr<*mut C>;
get_vector_of_ptr() -> UniquePtr<CxxVector<*mut C>>8         fn get_vector_of_ptr() -> UniquePtr<CxxVector<*mut C>>;
9     }
10 }
11 
main()12 fn main() {}
13