[][src]Macro psm::psm_stack_information

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

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 */
    }
}