mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-24 06:01:33 +00:00
fix(runtime-c-api) Update wasmer_export_func_params_arity
signature.
The `returns_len` argument type of `wasmer_export_func_returns_params` must be `uint32_t` to match the `wasmer_export_func_returns_arity` results, so that casts are not required.
This commit is contained in:
@ -252,7 +252,7 @@ pub unsafe extern "C" fn wasmer_export_func_params(
|
||||
pub unsafe extern "C" fn wasmer_export_func_returns(
|
||||
func: *const wasmer_export_func_t,
|
||||
returns: *mut wasmer_value_tag,
|
||||
returns_len: c_int,
|
||||
returns_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