16 lines
377 B
C++
16 lines
377 B
C++
|
//! Implementation of lucore assertion facilities
|
||
|
|
||
|
#include <cstdio>
|
||
|
#include <cstdlib>
|
||
|
|
||
|
namespace lucore {
|
||
|
|
||
|
[[noreturn]] void ExitMsg(const char* fileName, int fileLine, const char* message) {
|
||
|
// TODO: move this to logger functionality of lucore (gmsv_lcpu will end up containing a
|
||
|
// Sink impl..)
|
||
|
std::puts(message);
|
||
|
std::quick_exit(0xAF);
|
||
|
}
|
||
|
|
||
|
} // namespace lucore
|