Skip to contents

Example WASM module for math operations.

Usage

wasmer_math_example_ext(ptr, a, b)

Arguments

ptr

External pointer to WasmerRuntime.

a

First integer.

b

Second integer.

Value

List with results of add and multiply

Details

Math operations example

Examples

if (FALSE) { # \dontrun{
wasmer_math_example_ext(ptr, 2, 3)
} # }