XDK API  3.6.0
Documentation
Macros | Variables
Assert.c File Reference

The program assertion module implements several debug features including an assertion library, which can be used to verify assumptions made by the program and send this information to the user and stop program execution if this assumption fails. More...

#include "BCDS_Essentials.h"
#include "BCDS_Assert.h"
+ Include dependency graph for Assert.c:

Macros

#define BCDS_MODULE_ID   BCDS_ESSENTIALS_MODULE_ID_ASSERT
 

Variables

static Assert_Callback_T assertCallback = NULL
 

Detailed Description

There are two important assertion types: Static compilation time assertions, and dynamic runtime assertions.

The program assertion library behaves differently in debug and release builds. Static assertions are always enabled, but all other features of the library is disabled in release builds.

Release builds must be built with the NDEBUG symbol defined in the makefile.

Macro Definition Documentation

#define BCDS_MODULE_ID   BCDS_ESSENTIALS_MODULE_ID_ASSERT

Variable Documentation

Assert_Callback_T assertCallback = NULL
static

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:40 by doxygen 1.8.8