ark_api_ffi/ffi/
core_v1.rs

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