Experimental fix for latest update

This commit is contained in:
a2x
2024-04-04 23:42:40 +10:00
parent 3a935f5d73
commit 9362b0c113
106 changed files with 21261 additions and 27319 deletions

View File

@@ -4,19 +4,20 @@ use super::{SchemaEnumeratorInfoData, SchemaMetadataEntryData, SchemaSystemTypeS
pub type SchemaEnumBinding = SchemaEnumInfoData;
#[rustfmt::skip]
#[repr(C)]
pub struct SchemaEnumInfoData {
pub base: Pointer64<SchemaEnumInfoData>,
pub name: Pointer64<ReprCString>,
pub module_name: Pointer64<ReprCString>,
pub alignment: u8,
pad_0019: [u8; 0x3],
pub size: u16,
pub static_metadata_count: u16,
pub enum_info: Pointer64<SchemaEnumeratorInfoData>,
pub static_metadata: Pointer64<SchemaMetadataEntryData>,
pub type_scope: Pointer64<SchemaSystemTypeScope>,
pad_0038: [u8; 0xC],
pub base: Pointer64<SchemaEnumInfoData>, // 0x0000
pub name: Pointer64<ReprCString>, // 0x0008
pub module_name: Pointer64<ReprCString>, // 0x0010
pub alignment: u8, // 0x0018
pad_0019: [u8; 0x3], // 0x0019
pub size: u16, // 0x001C
pub num_static_metadata: u16, // 0x001E
pub enum_info: Pointer64<SchemaEnumeratorInfoData>, // 0x0020
pub static_metadata: Pointer64<SchemaMetadataEntryData>, // 0x0028
pub type_scope: Pointer64<SchemaSystemTypeScope>, // 0x0030
pad_0038: [u8; 0x10], // 0x0038
}
unsafe impl Pod for SchemaEnumInfoData {}