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