wamr_sys

Function wasm_func_type_get_result_valkind

Source
pub unsafe extern "C" fn wasm_func_type_get_result_valkind(
    func_type: wasm_func_type_t,
    result_index: u32,
) -> wasm_valkind_t
Expand description

Get the kind of a result for a function type

@param func_type the function type @param result_index the index of the result to get

@return the kind of the result if successful, -1 otherwise