#include <stdio.h>
#include <oski/common.h>
Go to the source code of this file.
Defines | |
#define | INC_UTIL_ABORT_PROG_H |
tests/test_util.h included. | |
#define | ABORT(cond, method, err) |
If the given condition is true, calls the generic BeBOP error reporting macro, OSKI_ERR, and aborts the current program with exit code 1. |
|
Value: if(cond) { \ fprintf( stderr, "*** Error condition '%s' detected ***\n", \ MACRO_TO_STRING(cond) ); \ OSKI_ERR(method, err); \ exit(1); \ }
|