diff --git a/lib/runtime-c-api/src/lib.rs b/lib/runtime-c-api/src/lib.rs index 8b241ffab..2543e8fd8 100644 --- a/lib/runtime-c-api/src/lib.rs +++ b/lib/runtime-c-api/src/lib.rs @@ -620,7 +620,7 @@ pub unsafe extern "C" fn wasmer_module_serialize( } } -/// Deserialize the given Module. +/// Deserialize the given bytes into a Module. /// /// Returns `wasmer_result_t::WASMER_OK` upon success. /// diff --git a/lib/runtime-c-api/wasmer.h b/lib/runtime-c-api/wasmer.h index c3a5d7122..add281466 100644 --- a/lib/runtime-c-api/wasmer.h +++ b/lib/runtime-c-api/wasmer.h @@ -489,7 +489,7 @@ uint32_t wasmer_memory_length(const wasmer_memory_t *memory); wasmer_result_t wasmer_memory_new(wasmer_memory_t **memory, wasmer_limits_t limits); /** - * Deserialize the given Module. + * Deserialize the given bytes into a Module. * 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. diff --git a/lib/runtime-c-api/wasmer.hh b/lib/runtime-c-api/wasmer.hh index 850d185fa..d3619dd9a 100644 --- a/lib/runtime-c-api/wasmer.hh +++ b/lib/runtime-c-api/wasmer.hh @@ -385,7 +385,7 @@ uint32_t wasmer_memory_length(const wasmer_memory_t *memory); /// and `wasmer_last_error_message` to get an error message. wasmer_result_t wasmer_memory_new(wasmer_memory_t **memory, wasmer_limits_t limits); -/// Deserialize the given Module. +/// Deserialize the given bytes into a Module. /// 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.