Skip to content

Files

Latest commit

 

History

History
22 lines (14 loc) · 439 Bytes

examples-c-multi-value.md

File metadata and controls

22 lines (14 loc) · 439 Bytes

Using multi-value

You can also browse this source code online and clone the wasmtime repository to run the example locally.

This example shows off how to interact with a wasm module that uses multi-value exports and imports.

multi.wat

{{#include ../examples/multi.wat}}

multi.c

{{#include ../examples/multi.c}}