gmod-lcpu/native/projects/lucore/src/Assert.cpp

15 lines
266 B
C++

//! Implementation of lucore assertion facilities
#include <cstdio>
#include <cstdlib>
#include <lucore/Logger.hpp>
namespace lucore {
[[noreturn]] void ExitMsg(const char* message) {
LogFatal("{}", message);
std::quick_exit(0xAF);
}
} // namespace lucore