Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

C++: Fix Il2CppDecimal declaration and add missing reserved symbols #1

Merged
merged 1 commit into from
Feb 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Il2CppInspector.Common/Cpp/CppDeclarationGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ interface vtable during an interface call, but the result
}
/* Reserve commonly defined C++ symbols for MSVC DLL projects */
/* This is not an exhaustive list! (windows.h etc.) */
foreach (var symbol in new[] {"_int32", "DEFAULT_CHARSET", "FILETIME", "NULL", "SYSTEMTIME", "stderr", "stdin", "stdout"}) {
foreach (var symbol in new[] { "_int8", "_int16", "_int32", "_int64", "DEFAULT_CHARSET", "FILETIME", "NULL", "SYSTEMTIME", "stderr", "stdin", "stdout"}) {
ns.ReserveName(symbol);
}
/* Reserve builtin keywords in IDA */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1868,7 +1868,7 @@ struct Il2CppDecimal
} v;
uint64_t Lo64;
} v;
} Il2CppClass;
};
typedef struct Il2CppDouble
{
uint32_t mantLo : 32;
Expand Down