Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@axic
Copy link
Member

@axic axic commented May 30, 2019

Fixes #63.

@axic axic marked this pull request as ready for review June 4, 2019 11:31
@aarlt
Copy link

aarlt commented Jun 12, 2019

oops.. didnt see this :D

src/debug.rs Outdated
macro_rules! print32 {
($e:expr) => {
#[cfg(debug_assertions)]
::ewasm_api::debug::print32($e)
Copy link

@aarlt aarlt Jun 13, 2019

Choose a reason for hiding this comment

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

does this really work? i think you can only call public functions from a macro - at least if the macro is used within a different module (e.g. outside debug). or am i wrong?

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.

Turn the debug feature into a macro

4 participants