Module aingle_wasmer_host::import[][src]

Functions

__import_data

Dump the current Ctx data wherever the guest asks us to. The Ctx data is cleared to a null ptr in the process.

free_context_data

Always call this before setting and after using a context. It guards against badly behaved host/guest logic by freeing any previously leaked data pointed at by the context data.

set_context_data

Set the Ctx data as a Vec<u8> for any serializable input.