Changeset 56009 in vbox for trunk/include/iprt
- Timestamp:
- May 21, 2015 4:34:04 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r55957 r56009 1697 1697 # define RT_LO_U8(a) ( (uint8_t)(a) ) 1698 1698 #endif 1699 /** @def RT_HI_U 161700 * Gets the high uint 16_t of a uint32_t or something equivalent). */1699 /** @def RT_HI_U8 1700 * Gets the high uint8_t of a uint16_t or something equivalent. */ 1701 1701 #ifdef __GNUC__ 1702 1702 # define RT_HI_U8(a) __extension__ ({ AssertCompile(sizeof((a)) == sizeof(uint16_t)); (uint8_t)((a) >> 8); }) … … 1713 1713 #endif 1714 1714 /** @def RT_HI_U16 1715 * Gets the high uint16_t of a uint32_t or something equivalent ). */1715 * Gets the high uint16_t of a uint32_t or something equivalent. */ 1716 1716 #ifdef __GNUC__ 1717 1717 # define RT_HI_U16(a) __extension__ ({ AssertCompile(sizeof((a)) == sizeof(uint32_t)); (uint16_t)((a) >> 16); }) … … 1728 1728 #endif 1729 1729 /** @def RT_HI_U32 1730 * Gets the high uint32_t of a uint64_t or something equivalent ). */1730 * Gets the high uint32_t of a uint64_t or something equivalent. */ 1731 1731 #ifdef __GNUC__ 1732 1732 # define RT_HI_U32(a) __extension__ ({ AssertCompile(sizeof((a)) == sizeof(uint64_t)); (uint32_t)((a) >> 32); })
Note:
See TracChangeset
for help on using the changeset viewer.