MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Files > legato_error.h
MPLAB® Harmony Graphics Suite
legato_error.h

Microchip Technology Inc.

File Name

legato_error.h

Description

Module for Microchip Graphics Library - Legato User Interface Library 

Defines library assert macros.

Functions
 
Name 
Description 
 
Gets the library global error message. 
 
Sets the library global error message. 
 
Sets the library global error message using a formatted string. 
Macros
 
Name 
Description 
 
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__); } 
 
This is macro LE_ASSERT_MSG. 
 
This is macro LE_ASSERT_THIS. 
 
This is macro LE_ASSERT_VAR. 
MPLAB® Harmony Graphics Suite