MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / ReportFailure

Method ReportFailure

SampleFramework12/v1.00/Assert.cpp:78–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78Assert::FailBehavior Assert::ReportFailure(const char* condition,
79 const char* file,
80 const int line,
81 const char* msg, ...)
82{
83 const char* message = NULL;
84 if (msg != NULL)
85 {
86 char messageBuffer[1024];
87 {
88 va_list args;
89 va_start(args, msg);
90 vsnprintf_s(messageBuffer, 1024, 1024, msg, args);
91 va_end(args);
92 }
93
94 message = messageBuffer;
95 }
96
97 return GetAssertHandlerInstance()(condition, message, file, line);
98}
99
100}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected