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
15
use crate::macros::check_exp::check_exp;
use crate::macros::ttisfunction::ttisfunction;

#[allow(non_snake_case)]
#[macro_export]
macro_rules! clvalue {
    ($o:expr) => {
        $crate::macros::check_exp::check_exp!(
            $crate::macros::ttisfunction::ttisfunction!($o),
            core::ptr::addr_of_mut!((*(*$o).value.gc).cl) as *mut $crate::records::closure::Closure
        )
    };
}

pub use clvalue;