Module wasi

Source
Expand description

Unstable non-standard Wasmer-specific API that contains more WASI API.

Structs§

wasmer_named_extern_t
Unstable non-standard type wrapping wasm_extern_t with the addition of two wasm_name_t respectively for the module name and the name of the extern (very likely to be an import). This non-standard type is used by the unstable non-standard wasi_get_unordered_imports function.
wasmer_named_extern_vec_t
Represents a vector of wasmer_named_extern_t *.

Functions§

wasi_get_unordered_imports
Non-standard function to get the imports needed for the WASI implementation with no particular order. Each import has its associated module name and name, so that it can be re-order later based on the wasm_module_t requirements.
wasmer_named_extern_module
Non-standard function to get the module name of a wasmer_named_extern_t.
wasmer_named_extern_name
Non-standard function to get the name of a wasmer_named_extern_t.
wasmer_named_extern_unwrap
Non-standard function to get the wrapped extern of a wasmer_named_extern_t.
wasmer_named_extern_vec_copy
Performs a deep copy of a vector of [wasmer_named_extern_t *].
wasmer_named_extern_vec_delete
Deletes a vector of [wasmer_named_extern_t *].
wasmer_named_extern_vec_new
Creates a new vector of [wasmer_named_extern_t *].
wasmer_named_extern_vec_new_empty
Creates an empty vector of [wasmer_named_extern_t *].
wasmer_named_extern_vec_new_uninitialized
Creates a new uninitialized vector of [wasmer_named_extern_t *].