Skip to content

Commit

Permalink
chore(runtime-c-api) Update C/C++ header files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed May 14, 2019
1 parent f04e773 commit 8bd9bbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/runtime-c-api/wasmer.h
Expand Up @@ -215,7 +215,7 @@ wasmer_result_t wasmer_export_func_params_arity(const wasmer_export_func_t *func
*/
wasmer_result_t wasmer_export_func_returns(const wasmer_export_func_t *func,
wasmer_value_tag *returns,
int returns_len);
uint32_t returns_len);

/**
* Sets the result parameter to the arity of the returns of the wasmer_export_func_t
Expand Down
2 changes: 1 addition & 1 deletion lib/runtime-c-api/wasmer.hh
Expand Up @@ -192,7 +192,7 @@ wasmer_result_t wasmer_export_func_params_arity(const wasmer_export_func_t *func
/// and `wasmer_last_error_message` to get an error message.
wasmer_result_t wasmer_export_func_returns(const wasmer_export_func_t *func,
wasmer_value_tag *returns,
int returns_len);
uint32_t returns_len);

/// Sets the result parameter to the arity of the returns of the wasmer_export_func_t
/// Returns `wasmer_result_t::WASMER_OK` upon success.
Expand Down

0 comments on commit 8bd9bbb

Please sign in to comment.