luaur-vm 0.1.1

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;

#[no_mangle]
pub unsafe fn lua_setthreaddata(l: *mut lua_State, data: *mut c_void) {
    (*l).userdata = data;
}