13 lines
295 B
C
Raw Normal View History

2022-01-11 20:22:24 +01:00
#include "exception.h"
2022-01-11 23:41:13 +01:00
void error_display (const char *fmt, ...) {
2022-01-11 20:22:24 +01:00
EXCEPTION_TRIGGER(TRIGGER_CODE_ERROR);
while (1);
}
2022-01-15 01:16:17 +01:00
void __assert_func (const char *file, int line, const char *func, const char *failedexpr) {
EXCEPTION_TRIGGER(TRIGGER_CODE_ASSERT);
while (1);
}