Changes in uspace/lib/c/include/macros.h [623bab8f:35c874a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/macros.h
r623bab8f r35c874a 40 40 #define abs(a) ((a) >= 0 ? (a) : -(a)) 41 41 42 #define ARRAY_SIZE(array) (sizeof(array) / sizeof(array[0])) 42 43 43 44 #define KiB2SIZE(kb) ((kb) << 10) … … 68 69 #define PADD8 _padd(8, __LINE__) 69 70 71 #define STATIC_ASSERT(cond) int sassert[(cond) ? 1 : -1] 72 70 73 /** @} 71 74 */
Note:
See TracChangeset
for help on using the changeset viewer.