[][src]Function wasmer_runtime_c_api::export::wasmer_export_func_params

#[no_mangle]
pub unsafe extern "C" fn wasmer_export_func_params(
    func: *const wasmer_export_func_t,
    params: *mut wasmer_value_tag,
    params_len: u32
) -> wasmer_result_t

Sets the params buffer to the parameter types of the given wasmer_export_func_t

Returns wasmer_result_t::WASMER_OK upon success.

Returns wasmer_result_t::WASMER_ERROR upon failure. Use wasmer_last_error_length and wasmer_last_error_message to get an error message.