ark-api-ffi 0.16.0

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

#[link(wasm_import_module = "ark-core-v2")]
extern "C" {
    pub fn core__register_panic(
        err_msg_ptr: *const u8,
        err_msg_len: u32,
        location_file_ptr: *const u8,
        location_file_len: u32,
        location_line: u32,
        location_column: u32,
    ) -> crate::ErrorCode;
}