File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ pub mod ffi2 {
6060 fn c_return_ns_opaque_ptr ( ) -> UniquePtr < F > ;
6161 fn c_return_ns_unique_ptr ( ) -> UniquePtr < H > ;
6262 fn c_take_ref_ns_c ( h : & H ) ;
63+ fn c_roundtrip_opaque_opt_mut_pin_ref ( e : Option < Pin < & mut E > > ) -> Option < Pin < & mut E > > ;
6364
6465 #[ namespace = "other" ]
6566 fn ns_c_take_trivial ( d : D ) ;
Original file line number Diff line number Diff line change @@ -311,6 +311,8 @@ void c_take_ref_ns_c(const ::H::H &h) {
311311 }
312312}
313313
314+ E *c_roundtrip_opaque_opt_mut_pin_ref (E *e) { return e; }
315+
314316void c_take_str (rust::Str s) {
315317 if (std::string (s) == " 2020" ) {
316318 cxx_test_suite_set_correct ();
Original file line number Diff line number Diff line change @@ -136,6 +136,7 @@ void c_take_opt_mut_r(R *r);
136136void c_take_opt_ref_c (const C *c);
137137void c_take_opt_mut_c (C *c);
138138void c_take_ref_ns_c (const ::H::H &h);
139+ E *c_roundtrip_opaque_opt_mut_pin_ref (E *e);
139140void c_take_str (rust::Str s);
140141void c_take_slice_char (rust::Slice<const char > s);
141142void c_take_slice_shared (rust::Slice<const Shared> s);
You can’t perform that action at this time.
0 commit comments