macro_rules! he_lang {
(
$($a:literal)|*$(|)?
;$n:expr
) => { ... };
}Expand description
A wrapper of newmap, which is a painted eggshell.
Create a bitmap with indexes instead of flags.
ยงExamples
It is allowed to use literal integers and variables:
use cbitmap::bitmap::*;
let map = he_lang!(1 | 4; 5);
assert_eq!(map.bit_len(), 8);
assert_eq!(map.test(1), true);
assert_eq!(map.test(4), true);