rad 6.2.0
Loading...
Searching...
No Matches
Macros | Functions
Assert.h File Reference

Assert header. More...

#include "scxml4cpp/Log.h"

Go to the source code of this file.

Macros

#define SCXML4CPP_ASSERT(a)   scxml4cpp_assert(a, __FILE__, __FUNCTION__, __LINE__)
 
#define SCXML4CPP_ASSERTPTR(a)   scxml4cpp_assert(a != NULL, __FILE__, __FUNCTION__, __LINE__)
 
#define SCXML4CPP_ASSERTNEVER()   scxml4cpp_assert(false, __FILE__, __FUNCTION__, __LINE__)
 

Functions

void scxml4cpp_assert (bool condition, const char *fileName, const char *functionName, int lineNumber)
 

Detailed Description

Assert header.

Macro Definition Documentation

◆ SCXML4CPP_ASSERT

#define SCXML4CPP_ASSERT ( a)    scxml4cpp_assert(a, __FILE__, __FUNCTION__, __LINE__)

Assertion macros used in the scxml4cpp library.

◆ SCXML4CPP_ASSERTNEVER

#define SCXML4CPP_ASSERTNEVER ( )    scxml4cpp_assert(false, __FILE__, __FUNCTION__, __LINE__)

◆ SCXML4CPP_ASSERTPTR

#define SCXML4CPP_ASSERTPTR ( a)    scxml4cpp_assert(a != NULL, __FILE__, __FUNCTION__, __LINE__)

Function Documentation

◆ scxml4cpp_assert()

void scxml4cpp_assert ( bool condition,
const char * fileName,
const char * functionName,
int lineNumber )