[−][src]Function wasmer_runtime_c_api::export::wasmer_export_func_params_arity
#[no_mangle] pub unsafe extern "C" fn wasmer_export_func_params_arity(
func: *const wasmer_export_func_t,
result: *mut u32
) -> wasmer_result_t
Sets the result parameter to the arity of the params of the 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.