1 | #[macro_export] |
---|---|
2 | macro_rules! MKBETAG { |
3 | ($a:expr, $b:expr, $c:expr, $d:expr) => { |
4 | ($d as isize) | (($c as isize) << 8) | (($b as isize) << 16) | (($a as isize) << 24) |
5 | }; |
6 | } |
7 | |
8 | #[macro_export] |
9 | macro_rules! MKTAG { |
10 | ($a:expr, $b:expr, $c:expr, $d:expr) => { |
11 | ($a as isize) | (($b as isize) << 8) | (($c as isize) << 16) | (($d as isize) << 24) |
12 | }; |
13 | } |
14 |