vgbc/misc/panic.h

10 lines
146 B
C
Raw Normal View History

#include <cstdio>
#include <cstdlib>
template <typename... Args>
2023-08-29 16:51:58 +02:00
inline void panic [[noreturn]] (Args... args)
{
printf(args...);
exit(1);
}