Rename STRING_ASSERT_SLOW into M_ASERT_SLOW
This commit is contained in:
1 parent
8e15a8cfe9
commit
d169a06f79
5 files changed
+14
-11
No files matched your search
@@ -279,6 +279,16 @@ M_BEGIN_PROTECTED_CODE
|
||||
#endif
|
||||
|
||||
|
||||
/* If within the M*LIB tests, perform additional (potentialy slow) checks */
|
||||
#ifndef M_ASSERT_SLOW
|
||||
# if defined(M_USE_ADDITIONAL_CHECKS) && M_USE_ADDITIONAL_CHECKS
|
||||
# define M_ASSERT_SLOW(n) assert(n)
|
||||
# else
|
||||
# define M_ASSERT_SLOW(n) (void) 0
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
/* Always perform a runtime check of the given condition
|
||||
* NOTE: Can be overiden by user if it needs to keep finer access
|
||||
* on the assertions or display message on another device.
|
||||
|
||||
Reference in new issue
Block a user