Macro elrond_wasm_module_features::feature_guard [−][src]
macro_rules! feature_guard { ($feature_module: expr, $feature_name:expr, $default:expr) => { ... }; }
Expand description
Expands to a snippet that returns with error if a feature is not enabled. Also receives a default, which is the feature value if unset.