macro_rules! extern_revmc {
($( $(#[$attr:meta])* $vis:vis fn $name:ident; )+) => { ... };
}
Expand description
Declare RawEvmCompilerFn
functions in an extern "C"
block.
ยงExamples
use revmc_context::{extern_revmc, EvmCompilerFn};
extern_revmc! {
/// A simple function that returns `Continue`.
pub fn test_fn;
}
let test_fn = EvmCompilerFn::new(test_fn);