[−][src]Function wasmer_runtime_c_api::import::wasmer_import_func_params
#[no_mangle] pub unsafe extern "C" fn wasmer_import_func_params(
func: *const wasmer_import_func_t,
params: *mut wasmer_value_tag,
params_len: c_uint
) -> wasmer_result_t
Sets the params buffer to the parameter types of the given wasmer_import_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.