Differences From Artifact [312b6f2b4b]:
- File src/OFNumber.h — part of check-in [1a86b8175b] at 2022-02-12 07:46:07 on branch trunk — Update copyright (user: js, size: 10394) [annotate] [blame] [check-ins using] [more...]
To Artifact [eff21822aa]:
- File
src/OFNumber.h
— part of check-in
[e53c0160a8]
at
2022-06-06 07:06:25
on branch trunk
— Always implement dummy for OF_UNAVAILABLE methods
GCC now supports the attribute, but still complains if the method is not
implemented, so always implement it with a method that throws. (user: js, size: 10326) [annotate] [blame] [check-ins using] [more...]
︙ | |||
120 121 122 123 124 125 126 | 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | - - | @property (readonly, nonatomic) double doubleValue; /** * @brief The OFNumber as a string. */ @property (readonly, nonatomic) OFString *stringValue; |
︙ | |||
236 237 238 239 240 241 242 | 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 | - - | * * @param value The `double` value which the OFNumber should contain * @return A new autoreleased OFNumber */ + (instancetype)numberWithDouble: (double)value; - (instancetype)init OF_UNAVAILABLE; |
︙ |