mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-12 08:31:21 +00:00
fix(runtime-c-api) wasmer_serialized_module_from_bytes
accepts bytes + length instead of wasmer_byte_array
.
This commit is contained in:
@ -545,7 +545,8 @@ void wasmer_serialized_module_destroy(wasmer_serialized_module_t *serialized_mod
|
||||
* and `wasmer_last_error_message` to get an error message.
|
||||
*/
|
||||
wasmer_result_t wasmer_serialized_module_from_bytes(wasmer_serialized_module_t **serialized_module,
|
||||
const wasmer_byte_array *serialized_module_bytes);
|
||||
const uint8_t *serialized_module_bytes,
|
||||
uint32_t serialized_module_bytes_length);
|
||||
|
||||
/**
|
||||
* Frees memory for the given Table
|
||||
|
Reference in New Issue
Block a user