luaur-vm 0.1.3

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

impl<T> TempBuffer<T> {
    pub fn temp_buffer() -> Self {
        let mut this = Self {
            L: core::ptr::null_mut(),
            data: core::ptr::null_mut(),
            count: 0,
        };
        this
    }
}