2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-18 22:47:25 +00:00

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

@@ -9,6 +9,7 @@
#include "Parsing/Impl/ParserFilesystemStream.h"
#include "Parsing/PostProcessing/CreateMemberInformationPostProcessor.h"
#include "Parsing/PostProcessing/CreateStructureInformationPostProcessor.h"
#include "Parsing/PostProcessing/CrossPlatformStructurePostProcessor.h"
#include "Parsing/PostProcessing/IPostProcessor.h"
#include <algorithm>
@@ -67,6 +68,7 @@ void HeaderFileReader::SetupPostProcessors()
// Order is important
m_post_processors.emplace_back(std::make_unique<CreateStructureInformationPostProcessor>());
m_post_processors.emplace_back(std::make_unique<CreateMemberInformationPostProcessor>());
m_post_processors.emplace_back(std::make_unique<CrossPlatformStructurePostProcessor>());
}
bool HeaderFileReader::ReadHeaderFile(IDataRepository* repository)