-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
This feature enables a WebAssembly function to return a tuple of values. When writing WebAssembly by hand, I've found this to be a helpful way to return an (i32, i32)
fat pointer to a string or static array of values stored in linear memory.
I am unclear how one can do this with C via WASI-SDK. I've seen code examples that have suggested to me that rightmost arguments can be tagged to be returned as part of a multi-value return. See the C header for WASI itself as an example.
Reference: https://github.com/WebAssembly/multi-value
Metadata
Metadata
Assignees
Labels
No labels