wamr_sys

Function wasm_runtime_addr_native_to_app

Source
pub unsafe extern "C" fn wasm_runtime_addr_native_to_app(
    module_inst: wasm_module_inst_t,
    native_ptr: *mut c_void,
) -> u64
Expand description

Convert native address (absolute address) to app address (relative address)

@param module_inst the WASM module instance @param native_ptr the native address

@return the app address converted