Skip to content
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

Fix typo in multi.c: args should be i32, i64, i64, i32 #163

Merged
merged 1 commit into from
Jan 11, 2021

Conversation

MarkMcCaskey
Copy link
Contributor

I noticed this while trying to run this example. Looks like it was accidentally changed to i32, i32, i32, i32 in a refactor. This makes multi.c do the same thing that multi.cc is doing.

@Hywan
Copy link
Contributor

Hywan commented Dec 18, 2020

👍

bors bot added a commit to wasmerio/wasmer that referenced this pull request Dec 21, 2020
1953: Get `multi.c` working in the Wasm C API r=MarkMcCaskey a=MarkMcCaskey

Gets the `multi.c` example working.

This PR has significant overlap with #1949 due to changes in vec / boxed vec.

Changes in this PR:
- impl `Clone` more often, implement `*_copy` functions in terms of `Clone`
- clean up boxed vec behavior
- add `*_vec_copy` functions for boxed and unboxed versions
- fix a typo in `wasm-c-api/examples/multi.c`; fixed in the upstream Wasm C API here: WebAssembly/wasm-c-api#163
- additional misc improvements

# Review

- [ ] Add a short description of the the change to the CHANGELOG.md file


Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <5770194+MarkMcCaskey@users.noreply.github.com>
Copy link
Member

@rossberg rossberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, thanks!

@rossberg rossberg merged commit c9d3128 into WebAssembly:master Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants