Vendor dependencies
Let's see how I like this workflow.
This commit is contained in:
parent
34d1830413
commit
9c435dc440
7500 changed files with 1665121 additions and 99 deletions
12
vendor/cxx/tests/ui/ptr_unsupported.rs
vendored
Normal file
12
vendor/cxx/tests/ui/ptr_unsupported.rs
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#[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() {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue