Differences From Artifact [4fee091a9d]:
- File
src/OFObject.h
— part of check-in
[8d9ab7ea41]
at
2022-12-04 09:01:11
on branch trunk
— Remove +[OFObject new]
While it allows for some laziness when using ARC, it only creates
inconsistency because there are no +[newWith*] methods. (user: js, size: 40577) [annotate] [blame] [check-ins using]
To Artifact [72f3e8d63d]:
- File src/OFObject.h — part of check-in [c911523834] at 2022-12-25 18:01:10 on branch trunk — Add -[sortedArrayUsingFunction:context:options:] (user: js, size: 40892) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
59 60 61 62 63 64 65 66 67 68 69 70 71 72 | OFOrderedAscending = -1, /** Both objects are equal */ OFOrderedSame = 0, /** The left object is bigger than the right */ OFOrderedDescending = 1 } OFComparisonResult; #ifdef OF_HAVE_BLOCKS /** * @brief A comparator to compare two objects. * * @param left The left object * @param right The right object * @return The order of the objects | > > > > > > > > > > > | 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | OFOrderedAscending = -1, /** Both objects are equal */ OFOrderedSame = 0, /** The left object is bigger than the right */ OFOrderedDescending = 1 } OFComparisonResult; /** * @brief A function to compare two objects. * * @param left The left object * @param right The right object * @param context Context passed along for comparing * @return The order of the objects */ typedef OFComparisonResult (*OFCompareFunction)(id _Nonnull left, id _Nonnull right, void *context); #ifdef OF_HAVE_BLOCKS /** * @brief A comparator to compare two objects. * * @param left The left object * @param right The right object * @return The order of the objects |
︙ | ︙ |