mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-16 16:20:49 +00:00
doc(runtime-c-api) Update the documentation of wasmer_module_deserialize
.
This commit is contained in:
parent
082c93ceba
commit
aac5c88b58
@ -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.
|
||||
///
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user