We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How do I provide an argument to a function? I looked around in code, and didn't really see anything.
For example, I want to expose malloc from my wasm, it has 1 arg (size):
malloc
size
// How to insert an arg here? web49_interp_data_t* data = web49_interp_block_run(interp, &interp->funcs[mallocID]); uint32_t wptr = data->i32_u;
Related sidenote: is there a better way to allocate a buffer in wasm-memory?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How do I provide an argument to a function? I looked around in code, and didn't really see anything.
For example, I want to expose
malloc
from my wasm, it has 1 arg (size
):Related sidenote: is there a better way to allocate a buffer in wasm-memory?
The text was updated successfully, but these errors were encountered: