My Project
programmer's documentation
|
Go to the source code of this file.
Macros | |
#define | cs_assert(expr) |
Abort the program if the given assertion is false. More... | |
Assertion usable in all build types.
#define cs_assert | ( | expr | ) |
Abort the program if the given assertion is false.
Contrary to the standard C assert macro, this is always defined, so the standard C assert macro should be use for debug build-only checking, whereas this macros should be used mainly for less expensive argument or precondition checks that should be present in all build types.
[in] | expr | expression to verify |