[][src]Function wamr_sys::wasm_runtime_addr_native_to_app

pub unsafe extern "C" fn wasm_runtime_addr_native_to_app(
    module_inst: wasm_module_inst_t,
    native_ptr: *mut c_void
) -> u32

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