Changeset 18b6a88 in mainline for uspace/lib/c/include/assert.h
- Timestamp:
- 2018-04-15T09:35:04Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c1f44ca
- Parents:
- 8ebe212
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/assert.h
r8ebe212 r18b6a88 64 64 65 65 #ifndef NDEBUG 66 66 #define assert(expr) ((expr) ? (void) 0 : __helenos_assert_abort(#expr, __FILE__, __LINE__)) 67 67 #else 68 68 #define assert(expr) ((void) 0) 69 69 #endif 70 70 … … 74 74 75 75 #ifndef NDEBUG 76 76 #define safe_assert(expr) ((expr) ? (void) 0 : __helenos_assert_quick_abort(#expr, __FILE__, __LINE__)) 77 77 #else 78 78 #define safe_assert(expr) ((void) 0) 79 79 #endif 80 80
Note:
See TracChangeset
for help on using the changeset viewer.