diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-18 13:22:54 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-19 08:34:27 +0100 |
commit | f31311aa67eb7b4f1888614b049b2ecf4ff1da3e (patch) | |
tree | 586962f3fdb21f8907eb06b060d141a1f095aa3d /cpukit | |
parent | score: Add _Debug_Is_owner_of_allocator() (diff) | |
download | rtems-f31311aa67eb7b4f1888614b049b2ecf4ff1da3e.tar.bz2 |
score: Add _Assert_Not_reached()
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/score/include/rtems/score/assert.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/assert.h b/cpukit/score/include/rtems/score/assert.h index be04d87da8..00ded6b298 100644 --- a/cpukit/score/include/rtems/score/assert.h +++ b/cpukit/score/include/rtems/score/assert.h @@ -67,6 +67,11 @@ extern "C" { bool _Debug_Is_owner_of_allocator( void ); #endif +/** + * @brief Asserts that this point is not reached during run-time. + */ +#define _Assert_Not_reached() _Assert( 0 ) + #ifdef __cplusplus } #endif /* __cplusplus */ |