Microchip® Advanced Software Framework

assert.h File Reference

Macros

#define __CTASSERT(x, y)   typedef char __assert ## y[(x) ? 1 : -1]
 
#define _CTASSERT(x, y)   __CTASSERT(x, y)
 
#define assert(e)   ((e) ? (void)0 : _xassert(__FILE__, __LINE__))
 
#define CTASSERT(x)   _CTASSERT(x, __LINE__)
 

Functions

void _xassert (const char *, int)
 

#define __CTASSERT (   x,
 
)    typedef char __assert ## y[(x) ? 1 : -1]
#define _CTASSERT (   x,
 
)    __CTASSERT(x, y)
#define assert (   e)    ((e) ? (void)0 : _xassert(__FILE__, __LINE__))
#define CTASSERT (   x)    _CTASSERT(x, __LINE__)

void _xassert ( const char *  ,
int   
)

References printf.