Differences From Artifact [5d33d7fcc0]:
- File src/OFEnumerator.h — part of check-in [f18b5db636] at 2019-06-19 00:54:33 on branch trunk — OFEnumerator: Conform to OFFastEnumeration (user: js, size: 3555) [annotate] [blame] [check-ins using]
To Artifact [1264743def]:
- File
src/OFEnumerator.h
— part of check-in
[496695d778]
at
2019-09-29 19:35:38
on branch trunk
— Either restrict subclassing or reserve ivar space
This allows ABI stability with the fragile ABI. (user: js, size: 3581) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
92 93 94 95 96 97 98 99 100 101 102 103 104 105 | * * @brief A class which provides methods to enumerate through collections. */ @interface OFEnumerator OF_GENERIC(ObjectType): OFObject <OFFastEnumeration> #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) # define ObjectType id #endif /*! * @brief Returns the next object or `nil` if there is none left. * * @return The next object or `nil` if there is none left */ - (nullable ObjectType)nextObject; | > > > > | 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | * * @brief A class which provides methods to enumerate through collections. */ @interface OFEnumerator OF_GENERIC(ObjectType): OFObject <OFFastEnumeration> #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) # define ObjectType id #endif { OF_RESERVE_IVARS(4) } /*! * @brief Returns the next object or `nil` if there is none left. * * @return The next object or `nil` if there is none left */ - (nullable ObjectType)nextObject; |
︙ | ︙ |