mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-27 15:41:33 +00:00
fix(runtime-c-api) Update wasmer_export_func_params_arity
signature.
The `params_len` argument type of `wasmer_export_func_params_arity` must be `uint32_t` to match the `wasmer_export_func_*_arity` results, so that casts are not required.
This commit is contained in:
@ -222,7 +222,7 @@ pub unsafe extern "C" fn wasmer_export_func_params_arity(
|
||||
pub unsafe extern "C" fn wasmer_export_func_params(
|
||||
func: *const wasmer_export_func_t,
|
||||
params: *mut wasmer_value_tag,
|
||||
params_len: c_int,
|
||||
params_len: uint32_t,
|
||||
) -> wasmer_result_t {
|
||||
let named_export = &*(func as *const NamedExport);
|
||||
let export = &named_export.export;
|
||||
|
Reference in New Issue
Block a user