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

Macro for declaring entry point #70

Merged
merged 1 commit into from
Jun 4, 2019
Merged

Macro for declaring entry point #70

merged 1 commit into from
Jun 4, 2019

Conversation

axic
Copy link
Member

@axic axic commented May 30, 2019

Closes #59.

After #29 we could use proc_macro to make this even nicer.

@axic axic requested a review from jakelang May 30, 2019 12:26
//! use ewasm_api::{Hash, block_hash, finish_data};
//! Using lower-level primitives:
//! ```ignore
//! use ewasm_api::{types::Hash, block_hash, finish_data};
Copy link
Member Author

Choose a reason for hiding this comment

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

It seems after recent changes types isn't exposed anymore unless the prelude is used.

@axic axic merged commit 61d2ff9 into master Jun 4, 2019
@axic axic deleted the entry-macro branch June 4, 2019 11:18
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.

Create a macro for the entry point
2 participants