cursive-macros 0.1.0

Proc-macros for the cursive TUI library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use proc_macro::TokenStream;

// When the builder feature is disabled, just remove the entire thing.
pub fn blueprint(_: TokenStream, _: TokenStream) -> TokenStream {
    TokenStream::new()
}

// Just return the annotated function unchanged.
pub fn callback_helpers(item: TokenStream) -> TokenStream {
    item
}