|
CommonLib
|
Go to the source code of this file.
Macros | |
| #define | SAFE_DELETE(PTR) |
| #define | ASSERT_RETURN(CONDITION, RETURN_VALUE) |
| #define | ASSERT_RETURN_TRUE(CONDITION) |
| #define | ASSERT_RETURN_FALSE(CONDITION) |
| #define ASSERT_RETURN | ( | CONDITION, | |
| RETURN_VALUE ) |
Returns a value if the condition is not met.
| CONDITION | The condition to check. |
| RETURN_VALUE | The value to return. |
| #define ASSERT_RETURN_FALSE | ( | CONDITION | ) |
Returns false if the condition is not met.
| CONDITION | The condition to check. |
| #define ASSERT_RETURN_TRUE | ( | CONDITION | ) |
Returns true if the condition is not met.
| CONDITION | The condition to check. |
| #define SAFE_DELETE | ( | PTR | ) |
Deletes an object and resets its pointer.
| PTR | The pointer to the object to delete. |