Skip to main content

luaur_vm/records/
stringtable.rs

1#[allow(non_camel_case_types)]
2#[derive(Debug, Clone, Copy)]
3#[repr(C)]
4pub struct stringtable {
5    pub(crate) hash: *mut *mut crate::records::t_string::TString,
6    pub(crate) nuse: u32,
7    pub(crate) size: core::ffi::c_int,
8}
9
10#[allow(non_camel_case_types)]
11pub type Stringtable = stringtable;
12
13impl Default for stringtable {
14    fn default() -> Self {
15        Self {
16            hash: core::ptr::null_mut(),
17            nuse: 0,
18            size: 0,
19        }
20    }
21}