luaur-vm 0.1.0

The Luau register virtual machine and standard library (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::macros::testbit::testbit;

#[allow(non_snake_case)]
#[macro_export]
macro_rules! isblack {
    ($x:expr) => {
        $crate::macros::testbit::testbit!(
            (*$x).gch.marked as i32,
            $crate::macros::maskmarks::BLACKBIT
        ) != 0
    };
}

pub use isblack;