forked from Imagelibrary/rtems
score: Add _Assert_Not_reached()
This commit is contained in:
@@ -67,6 +67,11 @@ extern "C" {
|
|||||||
bool _Debug_Is_owner_of_allocator( void );
|
bool _Debug_Is_owner_of_allocator( void );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Asserts that this point is not reached during run-time.
|
||||||
|
*/
|
||||||
|
#define _Assert_Not_reached() _Assert( 0 )
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|||||||
Reference in New Issue
Block a user