ark-api-ffi 0.17.0-pre.15

Ark low-level Wasm FFI API
Documentation
define_api_id!(2, "core-v1");

#[link(wasm_import_module = "ark-core-v1")]
extern "C" {
    /// Check if the host supports a specific API extension
    ///
    /// Returns 1 if the API extensions is available or 0 if it is not available
    ///
    /// Note: this will always return 0 as Ark does not support API extensions anymore
    pub fn core__has_extension(id: u64) -> u32;
}