Skip to contents

Instantiate a WASM module with host functions for mathematical operations.

Usage

wasmer_instantiate_with_math_imports_ext(ptr, module_name, instance_name)

Arguments

ptr

External pointer to WasmerRuntime.

module_name

String name of the module to instantiate.

instance_name

String name to identify this instance.

Value

Status message

Details

Create an instance with host functions for mathematical operations

Examples

if (FALSE) { # \dontrun{
wasmer_instantiate_with_math_imports_ext(ptr, "mod1", "inst1")
} # }