chore: detect structs that differ on different architectures

* and exclude them from assetstructtests
This commit is contained in:
Jan Laupetin
2025-04-27 21:04:41 +02:00
parent 088d14f894
commit 4e9599aabf
7 changed files with 85 additions and 2 deletions

View File

@ -6,3 +6,11 @@ enum class Architecture
X86,
X64
};
static constexpr Architecture OWN_ARCHITECTURE =
#if defined(ARCH_x86)
Architecture::X86
#elif defined(ARCH_x64)
Architecture::X64
#endif
;

View File

@ -5,6 +5,7 @@ StructureInformation::StructureInformation(DefinitionWithMembers* definition)
m_asset_enum_entry(nullptr),
m_is_leaf(false),
m_requires_marking(false),
m_has_matching_cross_platform_structure(false),
m_non_embedded_reference_exists(false),
m_single_pointer_reference_exists(false),
m_array_pointer_reference_exists(false),

View File

@ -24,6 +24,7 @@ public:
bool m_is_leaf;
bool m_requires_marking;
bool m_has_matching_cross_platform_structure;
bool m_non_embedded_reference_exists;
bool m_single_pointer_reference_exists;