[][src]Macro eosio_macros::s

macro_rules! s {
    #[proc_macro_hack] => { ... };
}

Macro for converting EOSIO symbols into u64 representations at compile time.

Examples

use eosio_macros::s;
assert_eq!(s!(4, "EOS"), 1162826500);