Skip to main content

luaur_vm/records/
g_cheader.rs

1#[allow(non_camel_case_types)]
2#[derive(Debug, Clone, Copy)]
3#[repr(C)]
4pub struct GCheader {
5    pub tt: u8,
6    pub marked: u8,
7    pub memcat: u8,
8}
9
10impl Default for GCheader {
11    fn default() -> Self {
12        Self {
13            tt: 0,
14            marked: 0,
15            memcat: 0,
16        }
17    }
18}