macro_rules! implement_into_ffi_by_pointer {
($($T:ty),* $(,)*) => { ... };
}
Expand description
Implements [IntoFfi
] for the provided types (more than one may be passed in) by allocating
$T
on the heap as an opaque pointer.
This is typically going to be used from the “Rust component”, and not the “FFI component” (see
the top level crate documentation for more information), however you will still need to
implement a destructor in the FFI component using define_box_destructor!
.