Changeset af60409 in mainline for uspace/lib/c/include/macros.h
- Timestamp:
- 2018-03-26T20:04:11Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- eb748a0
- Parents:
- b752a31
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/macros.h
rb752a31 raf60409 60 60 61 61 #define _paddname(line) PADD_ ## line ## __ 62 #define _padd(width, line ) uint ## width ## _t _paddname(line)62 #define _padd(width, line, n) uint ## width ## _t _paddname(line) [n] 63 63 64 #define PADD32 _padd(32, __LINE__)65 #define PADD16 _padd(16, __LINE__)66 #define PADD8 _padd(8, __LINE__)64 #define PADD32(n) _padd(32, __LINE__, n) 65 #define PADD16(n) _padd(16, __LINE__, n) 66 #define PADD8(n) _padd(8, __LINE__, n) 67 67 68 68 #endif
Note:
See TracChangeset
for help on using the changeset viewer.