wasmi_c_api

Function wasm_memory_data

source
#[no_mangle]
pub unsafe extern "C" fn wasm_memory_data(
    m: &wasm_memory_t,
) -> *mut u8
Expand description

Returns the underlying data pointer of the wasm_memory_t.

Wraps Memory::data_ptr.

§Safety

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