|
CoreNEURON
|
#include <cstdio>#include <cstdlib>#include <cstdarg>Go to the source code of this file.
Macros | |
| #define | nrn_assert(x) ((x) || (abortf("%s:%d: Assertion '%s' failed.\n", __FILE__, __LINE__, #x), 0)) |
| assert()-like macro, independent of NDEBUG status More... | |
Functions | |
| static void | abortf (const char *fmt,...) |
| Emit formatted message to stderr, then abort(). More... | |
| #define nrn_assert | ( | x | ) | ((x) || (abortf("%s:%d: Assertion '%s' failed.\n", __FILE__, __LINE__, #x), 0)) |
assert()-like macro, independent of NDEBUG status
Definition at line 33 of file nrn_assert.h.
|
static |
Emit formatted message to stderr, then abort().
Definition at line 24 of file nrn_assert.h.