Differences From Artifact [8acf2a6a5e]:
- File
src/OFEnumerator.h
— part of check-in
[0428b0ecd2]
at
2020-06-24 17:37:07
on branch trunk
— OFEnumerator: Remove const from itemsPtr
This made the Swift compiler complain. (user: js, size: 3578) [annotate] [blame] [check-ins using] [more...]
To Artifact [6f877d2d05]:
- File
src/OFEnumerator.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: 3592) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
93 94 95 96 97 98 99 | * @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 { | | | 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | * @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(OFEnumerator, 4) } /*! * @brief Returns the next object or `nil` if there is none left. * * @return The next object or `nil` if there is none left */ |
︙ | ︙ |