Differences From Artifact [4b9e5cee54]:
- File
src/OFNumber.h
— part of check-in
[27002f2efe]
at
2021-04-17 00:57:59
on branch trunk
— OFNumber: Remove useless OF_UNAVAILABLE
These methods no longer exist. (user: js, size: 10456) [annotate] [blame] [check-ins using]
To Artifact [c1e91a3a26]:
- File src/OFNumber.h — part of check-in [8a7353b219] at 2021-04-17 01:10:22 on branch new-naming-convention — of_dimension_t -> OFSize (user: js, size: 10428) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
125 126 127 128 129 130 131 | @property (readonly, nonatomic) OFString *stringValue; #ifdef OF_HAVE_UNAVAILABLE + (instancetype)valueWithBytes: (const void *)bytes objCType: (const char *)objCType OF_UNAVAILABLE; + (instancetype)valueWithPointer: (const void *)pointer OF_UNAVAILABLE; + (instancetype)valueWithNonretainedObject: (id)object OF_UNAVAILABLE; | | | | | 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | @property (readonly, nonatomic) OFString *stringValue; #ifdef OF_HAVE_UNAVAILABLE + (instancetype)valueWithBytes: (const void *)bytes objCType: (const char *)objCType OF_UNAVAILABLE; + (instancetype)valueWithPointer: (const void *)pointer OF_UNAVAILABLE; + (instancetype)valueWithNonretainedObject: (id)object OF_UNAVAILABLE; + (instancetype)valueWithRange: (OFRange)range OF_UNAVAILABLE; + (instancetype)valueWithPoint: (OFPoint)point OF_UNAVAILABLE; + (instancetype)valueWithSize: (OFSize)size OF_UNAVAILABLE; + (instancetype)valueWithRectangle: (of_rectangle_t)rectangle OF_UNAVAILABLE; #endif /** * @brief Creates a new OFNumber with the specified `bool`. * * @param value The `bool` value which the OFNumber should contain |
︙ | ︙ | |||
358 359 360 361 362 363 364 | /** * @brief Compares the number to another number. * * @param number The number to compare the number to * @return The result of the comparison */ | | | 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 | /** * @brief Compares the number to another number. * * @param number The number to compare the number to * @return The result of the comparison */ - (OFComparisonResult)compare: (OFNumber *)number; @end OF_ASSUME_NONNULL_END #if !defined(NSINTEGER_DEFINED) && !__has_feature(modules) /* Required for number literals to work */ @compatibility_alias NSNumber OFNumber; #endif |