Location:
e32def.h
Link against:
__ASSERT_DEBUG(c,p) (void)((c)||(p,0))
Supported from 5.0
Assert that a condition is true for debug builds only.
This macro is used as a C++ statement to assert the truth of some
condition, and to take appropriate action if the condition is false. It is used
in the same way as __ASSERT_ALWAYS
, except that it is only defined
only for debug builds.
The macro may be used to insert extra checks at various points in source code as desired; the code will only be generated in debug builds and not in release builds.
|