|
cbase 1.46.11
C/C++ Static Template
|
Assertions and debugging breakpoints. More...
Macros | |
| #define | debug_break() |
| Triggers a crash (segfault) as a fallback breakpoint. | |
| #define | ASSERT(expr) |
| Standard runtime assertion. Triggers a debug break on failure. | |
| #define | ASSERT_NOT_NULL(ptr) |
| Asserts that a given pointer is not NULL. | |
Assertions and debugging breakpoints.
| #define ASSERT | ( | expr | ) |
Standard runtime assertion. Triggers a debug break on failure.
| expr | The expression that must evaluate to true (non-zero). |
Definition at line 590 of file base_macros.h.
| #define ASSERT_NOT_NULL | ( | ptr | ) |
Asserts that a given pointer is not NULL.
| ptr | The pointer to check. |
Definition at line 604 of file base_macros.h.
| #define debug_break | ( | ) |
Triggers a crash (segfault) as a fallback breakpoint.
Definition at line 582 of file base_macros.h.