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") )