wamr_sys

Function wasm_func_type_get_param_valkind

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

Get the kind of a parameter for a function type

@param func_type the function type @param param_index the index of the parameter to get

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