GM6000 Digital Heater Controller Branch: main
SDX-1330
Functions
c_assert.h File Reference
#include <stdbool.h>
Include dependency graph for c_assert.h:

Go to the source code of this file.

Functions

void cpl_system_assert_c_wrapper (bool true_expression, const char *file, unsigned line, const char *func)
 These method is 'C wrapper' that calls Cpl::System::FatalError handler when the assert fails.
 

Function Documentation

◆ cpl_system_assert_c_wrapper()

void cpl_system_assert_c_wrapper ( bool  true_expression,
const char *  file,
unsigned  line,
const char *  func 
)

These method is 'C wrapper' that calls Cpl::System::FatalError handler when the assert fails.

The C Wrapper is need to as not to pollute the Platform mapping header files with C++ headers that cause compile issues when the underlying Platform is C based RTOS (e.g. FreeRTOS)