3 #include "../Engine/CYB.hpp"
5 #ifdef TARGET_OS_WINDOWS
19 int main(
const int ANumArguments,
const oschar_t*
const*
const AArguments) {
28 #ifdef TARGET_OS_WINDOWS
31 __builtin_unreachable();
36 static_cast<void>(ACallNumber);
45 static_cast<void>(AFunction);
46 static_cast<void>(AFile);
47 static_cast<void>(ALine);
58 static_cast<void>(AMsg);
67 static_cast<void>(ANumber);
static void Unimplemented(const char *const AFunction, const char *const AFile, const unsigned int ALine) noexcept
Indicates an unimplemented function, calls HCF if ASSERTION_OVERRIDE is not defined.
void TestLogNum(const long long ANumber) noexcept
Forces a log write in testing, no-op in the runtime.
void TestLog(const char *AMsg) noexcept
Forces a log write in testing, no-op in the runtime.
static void HCF(void) noexcept
Indicates unreachable code. Implementation can be overriden by defining ASSERTION_OVERRIDE.
static void AllocCheck(void)
Used by the testing suite to fail allocations at will.
static void LessThanOrEqual(const AType &ALHS, const AType &ARHS) noexcept
Less than or equal assertion function. May not be evaluated.
static void Run(const unsigned int ANumArguments, const oschar_t *const *const AArguments) noexcept
Runs the engine and self terminates.
#define BREAK
Breaks code execution at line used if DEBUG is defined. Must be defined by user otherwise.
int main(const int ANumArguments, const oschar_t *const *const AArguments)
Program entry point. Call CYB::Engine::Init::Run.