yahelpers
Enhanced debugging functionality for the ya ecosystem
Loading...
Searching...
No Matches
assert.h
Go to the documentation of this file.
1
12
#ifndef ASSERT_H
13
#define ASSERT_H
14
15
#include "
log.h
"
16
17
#ifndef NDEBUG
18
21
#define ASSERT(cond) \
22
do { \
23
if (!(cond)) { \
24
LOG_DEBUG("ASSERT " #cond " failed !!!"); \
25
} \
26
} while (0)
27
28
#else
29
30
#define ASSERT(cond)
/* Empty stub macro*/
31
32
#endif
33
34
#endif
log.h
Logging utilities for the ya ecosystem.
Generated on Mon Apr 27 2026 16:30:48 for yahelpers by
1.9.8