pub unsafe fn lift_object_arc_param<T>(
ptr: *const T,
name: &str,
) -> Result<Arc<T>, FfiError>Expand description
Take a new strong reference to an object parameter, so the producer can retain it.
§Errors
Returns a marshalling error for null.
§Safety
Same contract as object_arc.