[][src]Module wasmer_runtime_c_api::module

Compile, validate, instantiate, serialize, and destroy modules.

Structs

wasmer_module_t
wasmer_serialized_module_t

Functions

wasmer_compile

Creates a new Module from the given wasm bytes.

wasmer_module_deserialize

Deserialize the given serialized module.

wasmer_module_destroy

Frees memory for the given Module

wasmer_module_import_instantiate

Given:

wasmer_module_instantiate

Creates a new Instance from the given module and imports.

wasmer_module_serialize

Serialize the given Module.

wasmer_serialized_module_bytes

Get bytes of the serialized module.

wasmer_serialized_module_destroy

Frees memory for the given serialized Module.

wasmer_serialized_module_from_bytes

Transform a sequence of bytes into a serialized module.

wasmer_validate

Validates a sequence of bytes hoping it represents a valid WebAssembly module.