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
use crate::macros::lua_tnone::LUA_TNONE;

#[allow(non_snake_case)]
#[macro_export]
macro_rules! lua_isnone {
    ($L:expr, $n:expr) => {
        unsafe { $crate::functions::lua_type::lua_type($L, $n) } == $crate::macros::lua_tnone::LUA_TNONE
    };
}

pub use lua_isnone;