luaur-vm 0.1.1

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

#[inline]
pub fn lua_newuserdata(
    l: *mut crate::records::lua_state::lua_State,
    s: usize,
) -> *mut core::ffi::c_void {
    lua_newuserdatatagged(l, s, 0)
}