Skip to main content

luaur_code_gen/records/
unwind_builder.rs

1use crate::enums::arch::Arch;
2use crate::records::register_a_64::RegisterA64;
3use crate::records::register_x_64::RegisterX64;
4use alloc::vec::Vec;
5
6#[derive(Debug, Clone)]
7#[repr(C)]
8pub struct UnwindBuilder {
9    _vtable: *const core::ffi::c_void,
10}
11
12impl UnwindBuilder {
13    #[allow(non_upper_case_globals)]
14    pub const X64: Arch = Arch::X64;
15    #[allow(non_upper_case_globals)]
16    pub const A64: Arch = Arch::A64;
17}
18
19#[allow(non_camel_case_types)]
20pub type UnwindBuilder_Arch = Arch;
21
22impl Default for UnwindBuilder {
23    fn default() -> Self {
24        Self {
25            _vtable: core::ptr::null(),
26        }
27    }
28}