luaur-vm 0.1.3

The Luau register virtual machine and standard library (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[macro_export]
#[allow(non_snake_case)]
macro_rules! expandstacklimit {
    ($L:expr, $p:expr) => {
        unsafe {
            luaur_common::LUAU_ASSERT!(($p) <= (*$L).stack_last);
            if (*(*$L).ci).top < ($p) {
                (*(*$L).ci).top = ($p);
            }
        }
    };
}

pub use expandstacklimit;