macro_rules! psm_stack_information {
    (yes { $($yes: tt)* } no { $($no: tt)* }) => { ... };
}
Expand description

Macro that outputs its tokens only if psm::stack_pointer and psm::StackDirection::new are available.

Examples

psm_stack_information! {
    yes {
        /* `psm::stack_pointer` and `psm::StackDirection::new` are available here */
    }
    no {
        /* `psm::stack_pointer` and `psm::StackDirection::new` are not available here */
    }
}