Differences From Artifact [b864f1f4df]:
- File src/OFMutablePair.h — part of check-in [c7f0229795] at 2020-01-02 01:51:34 on branch trunk — Update copyright (user: js, size: 1461) [annotate] [blame] [check-ins using] [more...]
To Artifact [e1427cccc1]:
- File
src/OFMutablePair.h
— part of check-in
[ef614a225d]
at
2020-09-26 21:58:39
on branch trunk
— Don't require __COUNTER__ for OF_RESERVE_IVARS
__COUNTER__ does not exist in GCC 4.2, and Apple GCC 4.2 is still the
newest compiler available for macOS 10.5. (user: js, size: 1476) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
27 28 29 30 31 32 33 | @interface OFMutablePair OF_GENERIC(FirstType, SecondType): OFPair OF_GENERIC(FirstType, SecondType) #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) # define FirstType id # define SecondType id #endif { | | | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | @interface OFMutablePair OF_GENERIC(FirstType, SecondType): OFPair OF_GENERIC(FirstType, SecondType) #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) # define FirstType id # define SecondType id #endif { OF_RESERVE_IVARS(OFMutablePair, 4) } /*! * @brief The first object of the pair. */ @property (readwrite, nonatomic, retain) FirstType firstObject; |
︙ | ︙ |