Changeset 843bce5 for libcfa/src/stdhdr/assert.h
- Timestamp:
- Oct 14, 2025, 4:10:09 PM (4 months ago)
- Branches:
- master
- Children:
- 75f888e7
- Parents:
- 3d02803 (diff), f0011bf (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
-
libcfa/src/stdhdr/assert.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/stdhdr/assert.h
r3d02803 r843bce5 10 10 // Created On : Mon Jul 4 23:25:26 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Oct 9 21:28:22 202213 // Update Count : 1612 // Last Modified On : Mon Sep 29 13:45:46 2025 13 // Update Count : 20 14 14 // 15 15 … … 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) 041 #define verifyf(x, ...) 042 #define verifyfail(...) 043 #define warnf( expr, fmt, ... ) 040 #define verify(x) (void)0 41 #define verifyf(x, ...) (void)0 42 #define verifyfail(...) (void)0 43 #define warnf( expr, fmt, ... ) (void)0 44 44 #endif 45 45
Note:
See TracChangeset
for help on using the changeset viewer.