This commit is contained in:
Niklas Gollenstede
2025-04-14 11:20:52 +02:00
commit 5a2e32aaeb
126 changed files with 16742 additions and 0 deletions

14
debug/assert.cc Normal file
View File

@@ -0,0 +1,14 @@
#include "assert.h"
[[noreturn]] void assertion_failed(const char* exp, const char* func,
const char* file, int line) {
(void)exp;
(void)func;
(void)file;
(void)line;
// TODO: Print error message (in debug window)
// TODO: Then stop the current core permanently
// Use appropriate method from class Core to do so.
while (true) {
} // wait forever so we can mark this as [[noreturn]]
}