luaur-vm 0.1.3

The Luau register virtual machine and standard library (Rust).
Documentation
1
2
3
4
5
6
7
use crate::records::lua_state::lua_State;
use core::ffi::c_void;

#[inline]
pub fn lua_getthreaddata(l: *mut lua_State) -> *mut c_void {
    unsafe { (*l).userdata }
}