ark_api_ffi/ffi/core_v4.rs
1define_api_id!(5, "core-v4");
2
3use crate::ErrorCode;
4
5#[link(wasm_import_module = "ark-core-v4")]
6extern "C" {
7 /// If there was a pending host return vector, copies its content to the given mutable slice
8 /// formed by the `out_ptr` and `out_len` parameters.
9 pub fn core__take_host_return_vec(out_ptr: *mut u8, out_len: u32) -> ErrorCode;
10}