Rtos API example

Embed: (wiki syntax)

« Back to documentation index

Assert macros

Assert macros
[Platform]

Functions

void mbed_assert_internal (const char *expr, const char *file, int line)
 Internal mbed assert function which is invoked when MBED_ASSERT macro failes.

Function Documentation

void mbed_assert_internal ( const char *  expr,
const char *  file,
int  line 
)

Internal mbed assert function which is invoked when MBED_ASSERT macro failes.

This function is active only if NDEBUG is not defined prior to including this assert header file. In case of MBED_ASSERT failing condition, error() is called with the assertation message.

Parameters:
exprExpresion to be checked.
fileFile where assertation failed.
lineFailing assertation line number.

Definition at line 22 of file mbed_assert.c.