Changes in uspace/lib/c/include/macros.h [a5a73c0:34b9299] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/macros.h
ra5a73c0 r34b9299 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 40 42 41 43 #define KiB2SIZE(kb) ((kb) << 10) … … 60 62 #endif 61 63 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 68 64 /** @} 69 65 */
Note:
See TracChangeset
for help on using the changeset viewer.