MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > j) Data Types and Constants > LE_ASSERT Macro
MPLAB® Harmony Graphics Suite
LE_ASSERT Macro

define LE_ASSERT(val) assert(val) define LE_ASSERT_MSG(val, msg) for ( ; !(val) ; assert(val) ) { leSetErrorMessage(msg); } define LE_ASSERT_VAR(val, fmt, ...) for ( ; !(val) ; assert(val) ) { leSprintfErrorMessage(fmt, __VA_ARGS__); }

C
#define LE_ASSERT(val) 
MPLAB® Harmony Graphics Suite