luaur_vm/records/
lua_table.rs1#[allow(non_snake_case)]
2#[repr(C)]
3#[derive(Copy, Clone)]
4pub union LuaTable_Union {
5 pub lastfree: core::ffi::c_int,
6 pub aboundary: core::ffi::c_int,
7}
8
9impl core::fmt::Debug for LuaTable_Union {
10 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
11 f.debug_struct("LuaTable_Union").finish_non_exhaustive()
12 }
13}
14
15#[allow(non_camel_case_types)]
16#[repr(C)]
17#[derive(Debug, Copy, Clone)]
18pub struct LuaTable {
19 pub tt: u8,
20 pub marked: u8,
21 pub memcat: u8,
22
23 pub tmcache: u8,
24 pub readonly: u8,
25 pub safeenv: u8,
26 pub lsizenode: u8,
27 pub nodemask8: u8,
28
29 pub sizearray: core::ffi::c_int,
30 pub union: LuaTable_Union,
31
32 pub metatable: *mut crate::records::lua_table::LuaTable,
33 pub array: *mut crate::records::lua_t_value::TValue,
34 pub node: *mut crate::records::lua_node::LuaNode,
35 pub gclist: *mut crate::records::gc_object::GcObject,
36}
37
38#[allow(non_upper_case_globals)]
39impl LuaTable {
40 pub const lastfree: () = ();
41 pub const aboundary: () = ();
42}
43
44#[allow(non_camel_case_types)]
45pub type lua_table = LuaTable;