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

feat(c-api): Implement wasm_global_type #1736

Merged
merged 1 commit into from
Oct 19, 2020

Conversation

jubianchi
Copy link
Contributor

@jubianchi jubianchi commented Oct 19, 2020

This patch adds a wasm_globaltype_t::new constructor for use by the
new wasm_global_type function and the existing
wasm_globaltype_new_inner function.

Note: wasm_global_type is defined here:

WASM_API_EXTERN own wasm_globaltype_t* wasm_global_type(const wasm_global_t*);

Review

  • Add a short description of the the change to the CHANGELOG.md file

@jubianchi jubianchi added 🎉 enhancement New feature! 📦 lib-c-api About wasmer-c-api labels Oct 19, 2020
@jubianchi jubianchi requested a review from Hywan as a code owner October 19, 2020 13:23
@jubianchi jubianchi force-pushed the c-api/wasm_global_type branch from da453bb to 1804e63 Compare October 19, 2020 13:24
@jubianchi jubianchi mentioned this pull request Oct 19, 2020
5 tasks
Copy link
Contributor

@Hywan Hywan left a comment

Choose a reason for hiding this comment

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

LGTM. Update the CHANGELOG and go :-).

@Hywan
Copy link
Contributor

Hywan commented Oct 19, 2020

bors try

bors bot added a commit that referenced this pull request Oct 19, 2020
@bors
Copy link
Contributor

bors bot commented Oct 19, 2020

try

Build failed:

@jubianchi jubianchi force-pushed the c-api/wasm_global_type branch from 1804e63 to 592b749 Compare October 19, 2020 14:01
This patch adds a `wasm_globaltype_t::new` constructor for use by the
new `wasm_global_type` function and the existing
`wasm_globaltype_new_inner` function.

Note: `wasm_global_type` is defined here:
https://github.com/wasmerio/wasmer/blob/193d7c8ce1b744e6078269ac7a77dd53d1e4cbd6/lib/c-api/tests/wasm_c_api/wasm-c-api/include/wasm.h#L436
@jubianchi jubianchi force-pushed the c-api/wasm_global_type branch from 592b749 to 5c26a81 Compare October 19, 2020 14:02
@jubianchi
Copy link
Contributor Author

bors try

bors bot added a commit that referenced this pull request Oct 19, 2020
@bors
Copy link
Contributor

bors bot commented Oct 19, 2020

@Hywan
Copy link
Contributor

Hywan commented Oct 19, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Oct 19, 2020

@bors bors bot merged commit a1ccfe2 into wasmerio:master Oct 19, 2020
@jubianchi jubianchi deleted the c-api/wasm_global_type branch October 19, 2020 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎉 enhancement New feature! 📦 lib-c-api About wasmer-c-api
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants