-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Multi Value #72
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: