Changes in uspace/lib/c/include/macros.h [34b9299:a5a73c0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/macros.h
r34b9299 ra5a73c0 38 38 #define min(a, b) ((a) < (b) ? (a) : (b)) 39 39 #define max(a, b) ((a) > (b) ? (a) : (b)) 40 #define abs(a) ((a) >= 0 ? (a) : (-a))41 42 40 43 41 #define KiB2SIZE(kb) ((kb) << 10) … … 62 60 #endif 63 61 62 #define _paddname(line) PADD_ ## line ## __ 63 #define _padd(width, line) uint ## width ## _t _paddname(line) 64 #define PADD32 _padd(32, __LINE__) 65 #define PADD16 _padd(16, __LINE__) 66 #define PADD8 _padd(8, __LINE__) 67 64 68 /** @} 65 69 */
Note:
See TracChangeset
for help on using the changeset viewer.