Bitcoin Core 28.99.0
P2P Digital Currency
|
Go to the source code of this file.
Macros | |
#define | __GNUC_PREREQ(_maj, _min) 0 |
#define | EXPECT(x, c) (x) |
#define | CHECK(cond) |
Unconditional failure on condition failure. More... | |
#define | CHECK_SAFE(cond) |
Check macro that does nothing in normal non-verify builds but crashes in verify builds. More... | |
#define | CHECK_RETURN(cond, rvar) |
Check a condition and return on failure in non-verify builds, crash in verify builds. More... | |
#define CHECK | ( | cond | ) |
Unconditional failure on condition failure.
Primarily used in testing harnesses.
#define CHECK_RETURN | ( | cond, | |
rvar | |||
) |
Check a condition and return on failure in non-verify builds, crash in verify builds.
Used for inexpensive conditions which believed to be always true in locations where a graceful exit is possible.
#define CHECK_SAFE | ( | cond | ) |