mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-01 17:17:55 -05:00
chore: detect structs that differ on different architectures
* and exclude them from assetstructtests
This commit is contained in:
@ -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
|
||||
;
|
||||
|
@ -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),
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user