rad 8.2.0
Loading...
Searching...
No Matches
Assert.h File Reference

Assert header. More...

#include "scxml4cpp/Log.h"

Go to the source code of this file.

Macros

#define SCXML4CPP_ASSERT(a)
 
#define SCXML4CPP_ASSERTPTR(a)
 
#define SCXML4CPP_ASSERTNEVER()
 

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)
Value:
scxml4cpp_assert(a, __FILE__, __FUNCTION__, __LINE__)
void scxml4cpp_assert(bool condition, const char *fileName, const char *functionName, int lineNumber)
Definition Assert.cpp:34

Assertion macros used in the scxml4cpp library.

◆ SCXML4CPP_ASSERTNEVER

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

◆ SCXML4CPP_ASSERTPTR

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

Function Documentation

◆ scxml4cpp_assert()

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