wasmi_c_api

Function wasm_instance_exports

source
#[no_mangle]
pub unsafe extern "C" fn wasm_instance_exports(
    instance: &mut wasm_instance_t,
    out: &mut wasm_extern_vec_t,
)
Expand description

Returns the exports of the wasm_instance_t.

The returned exports are stored in out.

Wraps Instance::exports.

§Safety

It is the caller’s responsibility not to alias the wasm_instance_t with its underlying, internal WasmStoreRef.