Changeset 21109 in vbox
- Timestamp:
- Jul 1, 2009 12:49:37 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r21092 r21109 1054 1054 * @param Member Member name. 1055 1055 */ 1056 #define RT_FROM_MEMBER(pMem, Type, Member) ( (Type *) ((uint8_t *)(void *)(pMem) +RT_UOFFSETOF(Type, Member)) )1056 #define RT_FROM_MEMBER(pMem, Type, Member) ( (Type *) ((uint8_t *)(void *)(pMem) - RT_UOFFSETOF(Type, Member)) ) 1057 1057 1058 1058 /** @def RT_ELEMENTS
Note:
See TracChangeset
for help on using the changeset viewer.