luaur-bytecode 0.1.3

Luau bytecode format and builder (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[allow(unused_macros)]
macro_rules! VREGRANGE {
    ($v:expr, $count:expr, $func:expr) => {
        LUAU_ASSERT!(
            (($v as i32)
                + (if ($count as i32) < 0 {
                    0
                } else {
                    $count as i32
                })) as u32
                <= ($func.maxstacksize as u32)
        )
    };
}

pub(crate) use VREGRANGE;