[*] Aurora Enum consistency

This commit is contained in:
Reece Wilson 2023-12-21 13:34:15 +00:00
parent e5f6be914b
commit 8df49f8ca8

View File

@ -23,10 +23,10 @@ extern "C"
#else #else
#define AUENVHPP_START_ENUM(platform, ...) \ #define AUENVHPP_START_ENUM(platform, ...) \
enum class platform \ enum class platform \
{ \ { \
eEnumInvalid = -1, \ e ## platform ## Invalid = -1, \
__VA_ARGS__ \ __VA_ARGS__ \
}; };
#endif #endif
@ -48,7 +48,7 @@ namespace Aurora::Build
#elif defined(AURORA_COMPILER_INTEL) #elif defined(AURORA_COMPILER_INTEL)
static const ECompiler kCurrentCompiler = ECompiler::eIntelInside; static const ECompiler kCurrentCompiler = ECompiler::eIntelInside;
#else #else
static const ECompiler kCurrentCompiler = ECompiler::eEnumInvalid; static const ECompiler kCurrentCompiler = ECompiler::eECompilerEnumInvalid;
#endif #endif
enum class EPlatformLTS enum class EPlatformLTS
@ -159,7 +159,7 @@ namespace Aurora::Build
#elif defined(AURORA_PLATFORM_WII_U) #elif defined(AURORA_PLATFORM_WII_U)
static const EPlatform kCurrentPlatform = EPlatform::ePlatformWiiU; static const EPlatform kCurrentPlatform = EPlatform::ePlatformWiiU;
#else #else
static const EPlatform kCurrentPlatform = EPlatform::eEnumInvalid; static const EPlatform kCurrentPlatform = EPlatform::eEPlatformEnumInvalid;
#endif #endif
AUENVHPP_START_ENUM(EVendor, AUENVHPP_START_ENUM(EVendor,
@ -184,7 +184,7 @@ namespace Aurora::Build
#elif defined(VENDOR_UNKNOWN) #elif defined(VENDOR_UNKNOWN)
static const EVendor kCurrentVendor = EVendor::eUnknown; static const EVendor kCurrentVendor = EVendor::eUnknown;
#else #else
static const EVendor kCurrentVendor = EVendor::eEnumInvalid; static const EVendor kCurrentVendor = EVendor::eEVendorEnumInvalid;
#endif #endif
AUENVHPP_START_ENUM(EArchitecture, AUENVHPP_START_ENUM(EArchitecture,
@ -200,7 +200,7 @@ namespace Aurora::Build
#elif defined(AURORA_ARCH_ARM) #elif defined(AURORA_ARCH_ARM)
static const EArchitecture kCurrentArchitecture = EArchitecture::eAArch64; static const EArchitecture kCurrentArchitecture = EArchitecture::eAArch64;
#else #else
static const EArchitecture kCurrentArchitecture = EArchitecture::eEnumInvalid; static const EArchitecture kCurrentArchitecture = EArchitecture::eEArchitectureEnumInvalid;
#endif #endif
@ -239,7 +239,7 @@ namespace Aurora::Build
#elif defined(AURORA_ABI_APPLE) #elif defined(AURORA_ABI_APPLE)
static const EABI kCurrentABI = EABI::eAppleArm; static const EABI kCurrentABI = EABI::eAppleArm;
#else #else
static const EABI kCurrentABI = EABI::eEnumInvalid; static const EABI kCurrentABI = EABI::eEABIEnumInvalid;
#endif #endif
AUENVHPP_START_ENUM(ECPUEndian, AUENVHPP_START_ENUM(ECPUEndian,