score: Add _Assert_Not_reached()

This commit is contained in:
Sebastian Huber
2014-03-18 13:22:54 +01:00
parent 72f4b98be7
commit f31311aa67

View File

@@ -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 */