From 3583d5e407476b8836228c0abc52c400d74aba61 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 14 Dec 2016 18:53:10 -0800 Subject: More robust platform definition support. The idea is that someday it will be possible to just concatenate the entire set of source files into a single giant source file, for systems that want to work this way. As a result, the build system now compiles every file, although some of them will not have any definitions. --- src/core/panic.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/core/panic.h') diff --git a/src/core/panic.h b/src/core/panic.h index 6deef964..2dc65f8c 100644 --- a/src/core/panic.h +++ b/src/core/panic.h @@ -34,4 +34,13 @@ */ extern void nni_panic(const char *, ...); +/* + * nni_println is used to print output to a debug console. This should only + * be used in the most dire of circumstances -- such as during an assertion + * failure that is going to cause the program to crash. After the string is + * emitted, a new line character is emitted, so the string should not + * include one. + */ +extern void nni_println(const char *); + #endif /* CORE_PANIC_H */ -- cgit v1.2.3-70-g09d2