luaur_vm/macros/lua_istable.rs
1use crate::enums::lua_type::lua_Type;
2use crate::functions::lua_type::lua_type;
3
4#[macro_export]
5macro_rules! lua_istable {
6 ($l:expr, $n:expr) => {
7 unsafe {
8 $crate::functions::lua_type::lua_type($l, $n)
9 == ($crate::enums::lua_type::lua_Type::LUA_TTABLE as i32)
10 }
11 };
12}
13
14pub use lua_istable;