luaur-common 0.1.1

Foundational data structures and flags for the luaur Luau-in-Rust toolchain.
Documentation
1
2
3
4
5
6
7
8
#[allow(non_snake_case)]
pub unsafe fn fnVisitV<Visitor, T>(vis: &mut Visitor, src: *mut core::ffi::c_void)
where
    Visitor: FnMut(&T),
{
    let val_ptr = src as *const T;
    vis(&*val_ptr);
}