Macro sp_api::frame_metadata_enabled

source ·
macro_rules! frame_metadata_enabled {
    ($($input:tt)*) => { ... };
}
Expand description

Enable/disable the given code depending on feature = "frame-metadata" being enabled for the crate or not.

§Example

// Will add the code depending on the feature being enabled or not.
frame_metadata_enabled!( println!("Hello") )