Changeset 52f9c57 in mainline for uspace/lib/c/include/macros.h
- Timestamp:
- 2012-12-22T22:39:19Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a6a9910
- Parents:
- 6326155b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/macros.h
r6326155b r52f9c57 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)
Note:
See TracChangeset
for help on using the changeset viewer.