Differences From Artifact [4abf7110e4]:
- File src/OFCountedSet.h — part of check-in [d537543238] at 2019-06-20 23:36:45 on branch trunk — Document methods to override in class clusters (user: js, size: 2046) [annotate] [blame] [check-ins using] [more...]
To Artifact [2ecebf0177]:
- File
src/OFCountedSet.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: 2072) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
44 45 46 47 48 49 50 51 52 53 54 55 56 57 | * of @ref OFSet and @ref OFMutableSet that need to be implemented. */ @interface OFCountedSet OF_GENERIC(ObjectType): OFMutableSet OF_GENERIC(ObjectType) #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) # define ObjectType id #endif /*! * @brief Returns how often the object is in the set. * * @return How often the object is in the set */ - (size_t)countForObject: (ObjectType)object; | > > > > | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | * of @ref OFSet and @ref OFMutableSet that need to be implemented. */ @interface OFCountedSet OF_GENERIC(ObjectType): OFMutableSet OF_GENERIC(ObjectType) #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) # define ObjectType id #endif { OF_RESERVE_IVARS(4) } /*! * @brief Returns how often the object is in the set. * * @return How often the object is in the set */ - (size_t)countForObject: (ObjectType)object; |
︙ | ︙ |