luaur-vm 0.1.2

The Luau register virtual machine and standard library (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::records::lua_table::LuaTable;

#[allow(non_snake_case)]
#[inline(always)]
pub unsafe fn invalidateTMcache(t: *mut LuaTable) {
    (*t).tmcache = 0;
}

#[allow(non_upper_case_globals)]
pub const invalidate_t_mcache: unsafe fn(*mut LuaTable) = invalidateTMcache;