Differences From Artifact [cacefbad95]:
- File src/OFSortedList.h — part of check-in [0509d7a844] at 2019-01-03 19:13:03 on branch trunk — Update copyright (user: js, size: 1861) [annotate] [blame] [check-ins using]
To Artifact [9bfd1b9f4d]:
- File
src/OFSortedList.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: 1887) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
27 28 29 30 31 32 33 34 35 36 37 38 39 40 | * @warning Because the list is sorted, all methods inserting an object at a * specific place are unavailable, even though they exist in OFList! */ @interface OFSortedList OF_GENERIC(ObjectType): OFList OF_GENERIC(ObjectType) #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) # define ObjectType id #endif - (of_list_object_t *)appendObject: (ObjectType)object OF_UNAVAILABLE; - (of_list_object_t *)prependObject: (ObjectType)object OF_UNAVAILABLE; - (of_list_object_t *)insertObject: (ObjectType)object beforeListObject: (of_list_object_t *)listObject OF_UNAVAILABLE; - (of_list_object_t *)insertObject: (ObjectType)object afterListObject: (of_list_object_t *)listObject | > > > > | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | * @warning Because the list is sorted, all methods inserting an object at a * specific place are unavailable, even though they exist in OFList! */ @interface OFSortedList OF_GENERIC(ObjectType): OFList OF_GENERIC(ObjectType) #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) # define ObjectType id #endif { OF_RESERVE_IVARS(4) } - (of_list_object_t *)appendObject: (ObjectType)object OF_UNAVAILABLE; - (of_list_object_t *)prependObject: (ObjectType)object OF_UNAVAILABLE; - (of_list_object_t *)insertObject: (ObjectType)object beforeListObject: (of_list_object_t *)listObject OF_UNAVAILABLE; - (of_list_object_t *)insertObject: (ObjectType)object afterListObject: (of_list_object_t *)listObject |
︙ | ︙ |