wamr_sys

Function wasm_externref_ref2obj

Source
pub unsafe extern "C" fn wasm_externref_ref2obj(
    externref_idx: u32,
    p_extern_obj: *mut *mut c_void,
) -> bool
Expand description

Retrieve the external object from an internal externref index

@param externref_idx the externref index to retrieve @param p_extern_obj return the mapped external object of the externref index

@return true if success, false otherwise