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

Add wasm_config_delete to the Wasm C API #2054

Merged
merged 2 commits into from
Jan 26, 2021
Merged

Conversation

MarkMcCaskey
Copy link
Contributor

Fixes 1 missing import reported in #2052

This function is relatively new to the Wasm C API and its implementation is trivial

@MarkMcCaskey MarkMcCaskey added the 📦 lib-c-api About wasmer-c-api label Jan 25, 2021
@MarkMcCaskey MarkMcCaskey requested a review from Hywan January 25, 2021 15:56
/// # .success();
/// # }
/// ```
/// cbindgen:ignore
Copy link
Contributor

Choose a reason for hiding this comment

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

Why ignoring it in the C API?

Copy link
Contributor

Choose a reason for hiding this comment

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

If ignored, it won't be present in the .h files, and I don't see how the doctest can work :-).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is part of wasm.h , I made it ignored because wasm_config_new is also ignored and this is functionally the same

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh true!

@Hywan Hywan added the 🎉 enhancement New feature! label Jan 26, 2021
@Hywan Hywan self-assigned this Jan 26, 2021
@Hywan Hywan added 📚 documentation Do you like to read? 🧪 tests I love tests labels Jan 26, 2021
@MarkMcCaskey
Copy link
Contributor Author

bors r+

@bors
Copy link
Contributor

bors bot commented Jan 26, 2021

@bors bors bot merged commit 2d57f31 into master Jan 26, 2021
@bors bors bot deleted the feature/add-wasm-config-delete branch January 26, 2021 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 documentation Do you like to read? 🎉 enhancement New feature! 📦 lib-c-api About wasmer-c-api 🧪 tests I love tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants