mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-08-05 18:21:54 +00:00
Add extra expr for use with STA_ASSERT
This commit is contained in:
@@ -149,6 +149,9 @@ namespace sta
|
||||
*/
|
||||
# define STA_ASSERT_COND_MSG(cond, expr, msg) ( (void)( (cond) ? STA_ASSERT_MSG(expr, msg) ) )
|
||||
|
||||
|
||||
# define STA_ASSERT_EXTRA(expr) expr;
|
||||
|
||||
#else // !STA_ASSERT_ENABLE
|
||||
|
||||
# define STA_ASSERT(expr) ((void)0)
|
||||
@@ -156,6 +159,8 @@ namespace sta
|
||||
# define STA_ASSERT_COND(cond, expr) ((void)0)
|
||||
# define STA_ASSERT_COND_MSG(cond, expr, msg) ((void)0)
|
||||
|
||||
# define STA_ASSERT_EXTRA(expr) ((void)0)
|
||||
|
||||
#endif // !STA_ASSERT_ENABLE
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user