1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#[macro_use]
extern crate proc_macro_hack;

#[allow(unused_imports)]
#[macro_use]
extern crate liutongshuo_decoding_macros_impl;
#[doc(hidden)]
pub use liutongshuo_decoding_macros_impl::*;

proc_macro_expr_decl! {
    /// Add one to an expression.
    noprefix_hex_length_2_into_u8! => noprefix_hex_length_2_into_u8_impl
}

proc_macro_expr_decl! {
    /// Add one to an expression.
    noprefix_hex_length_4_into_u16! => noprefix_hex_length_4_into_u16_impl
}

proc_macro_expr_decl! {
    /// Add one to an expression.
    noprefix_hex_length_8_into_u32! => noprefix_hex_length_8_into_u32_impl
}

proc_macro_expr_decl! {
    /// Add one to an expression.
    noprefix_hex_length_16_into_u64! => noprefix_hex_length_16_into_u64_impl
}