AppModel: Add WordSizeBytes; tidy up a bit

This commit is contained in:
Katy Coe
2020-08-17 02:49:01 +02:00
parent 4b86087c7a
commit 2024a3bfac
4 changed files with 8 additions and 4 deletions

View File

@@ -53,7 +53,7 @@ typedef size_t uintptr_t;
");
writeSectionHeader("IL2CPP internal types");
writeCode(model.UnityHeaders.GetTypeHeaderText(model.WordSize));
writeCode(model.UnityHeaders.GetTypeHeaderText(model.WordSizeBits));
// Stop MSVC complaining about out-of-bounds enum values
if (model.TargetCompiler == CppCompilerType.MSVC)