ark-api-ffi 0.16.0

Ark low-level Wasm FFI API
Documentation
1
2
3
4
5
6
7
8
9
10
define_api_id!(5, "core-v4");

use crate::ErrorCode;

#[link(wasm_import_module = "ark-core-v4")]
extern "C" {
    /// If there was a pending host return vector, copies its content to the given mutable slice
    /// formed by the `out_ptr` and `out_len` parameters.
    pub fn core__take_host_return_vec(out_ptr: *mut u8, out_len: u32) -> ErrorCode;
}