OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
OTAssert.h File Reference

Go to the source code of this file.

Macros

#define OTAssert(___expression, ___message)
 Adds the ability to provide a custom text to the cassert macro (assertion only in debug mode)
 
#define OTAssertNullptr(___ptr)
 Check if the provided pointer is not a nullptr.
 

Macro Definition Documentation

◆ OTAssert

#define OTAssert ( ___expression,
___message )

Adds the ability to provide a custom text to the cassert macro (assertion only in debug mode)

◆ OTAssertNullptr

#define OTAssertNullptr ( ___ptr)

Check if the provided pointer is not a nullptr.