Changeset 1eea589f for libcfa/src/stdhdr
- Timestamp:
- Jul 27, 2025, 2:48:31 PM (2 months ago)
- Branches:
- master
- Children:
- b9d1242
- Parents:
- da10157 (diff), 7806f91 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/stdhdr/assert.h
rda10157 r1eea589f 38 38 #define warnf( expr, fmt, ... ) ({ static bool check_once##__LINE__ = false; if( false == check_once##__LINE__ && false == (expr)) { check_once##__LINE__ = true; __assert_warn_f(__VSTRINGIFY__(expr), __FILE__, __LINE__, __PRETTY_FUNCTION__, fmt, ## __VA_ARGS__ ); } }) 39 39 #else 40 #define verify(x) 41 #define verifyf(x, ...) 42 #define verifyfail(...) 43 #define warnf( expr, fmt, ... ) 40 #define verify(x) 0 41 #define verifyf(x, ...) 0 42 #define verifyfail(...) 0 43 #define warnf( expr, fmt, ... ) 0 44 44 #endif 45 45
Note:
See TracChangeset
for help on using the changeset viewer.