Skip to main content

luaur_vm/macros/
iswhite.rs

1use crate::macros::test_2_bits::test2bits;
2
3#[allow(non_snake_case)]
4#[macro_export]
5macro_rules! iswhite {
6    ($x:expr) => {
7        ($crate::macros::test_2_bits::test2bits!(
8            (*$x).gch.marked as i32,
9            $crate::macros::fixedbit::WHITE0BIT,
10            $crate::macros::fixedbit::WHITE1BIT
11        ) != 0)
12    };
13}
14
15pub use iswhite;