Overview
Comment: | Add missing nullable |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8461a50c3a954d379f5d26640f5a9f5b |
User & Date: | js on 2022-12-25 19:11:01 |
Other Links: | manifest | tags |
Context
2022-12-26
| ||
01:19 | Fix shadowed variable and duplicate code check-in: c0fad4d24c user: js tags: trunk | |
2022-12-25
| ||
19:11 | Add missing nullable check-in: 8461a50c3a user: js tags: trunk | |
18:01 | Add -[sortedArrayUsingFunction:context:options:] check-in: c911523834 user: js tags: trunk | |
Changes
Modified src/OFArray.h from [f7c3ee4bc1] to [8f22043c1b].
︙ | ︙ | |||
412 413 414 415 416 417 418 | * @param compare The function to use to sort the array * @param context Context passed to the function to compare * @param options The options to use when sorting the array * @return A sorted copy of the array */ - (OFArray OF_GENERIC(ObjectType) *) sortedArrayUsingFunction: (OFCompareFunction)compare | | | 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 | * @param compare The function to use to sort the array * @param context Context passed to the function to compare * @param options The options to use when sorting the array * @return A sorted copy of the array */ - (OFArray OF_GENERIC(ObjectType) *) sortedArrayUsingFunction: (OFCompareFunction)compare context: (nullable void *)context options: (OFArraySortOptions)options; #ifdef OF_HAVE_BLOCKS /** * @brief Returns a copy of the array sorted using the specified selector and * options. * |
︙ | ︙ |
Modified src/OFMutableArray.h from [88016cdfc5] to [80febab38d].
︙ | ︙ | |||
206 207 208 209 210 211 212 | * @brief Sorts the array using the specified function and options. * * @param compare The function to use to sort the array * @param context Context passed to the function to compare * @param options The options to use when sorting the array */ - (void)sortUsingFunction: (OFCompareFunction)compare | | | 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 | * @brief Sorts the array using the specified function and options. * * @param compare The function to use to sort the array * @param context Context passed to the function to compare * @param options The options to use when sorting the array */ - (void)sortUsingFunction: (OFCompareFunction)compare context: (nullable void *)context options: (OFArraySortOptions)options; #ifdef OF_HAVE_BLOCKS /** * @brief Sorts the array using the specified comparator and options. * * @param comparator The comparator to use to sort the array |
︙ | ︙ |
Modified src/OFObject.h from [72f3e8d63d] to [51658d5865].
︙ | ︙ | |||
68 69 70 71 72 73 74 | * * @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, | | | 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | * * @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 *_Nullable context); #ifdef OF_HAVE_BLOCKS /** * @brief A comparator to compare two objects. * * @param left The left object * @param right The right object |
︙ | ︙ |