Differences From 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...]
To Artifact [e8b2d0d74a]:
- File src/OFNumber.h — part of check-in [26ddd2e4e4] at 2024-01-02 17:17:25 on branch trunk — Update copyright (user: js, size: 9851) [annotate] [blame] [check-ins using] [more...]
1 | 1 2 3 4 5 6 7 8 9 | - + | /* |
| ︙ | |||
24 25 26 27 28 29 30 | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | - - - - - - + + - - - - - - - - - | #ifdef OF_HAVE_SYS_TYPES_H # include <sys/types.h> #endif #import "OFJSONRepresentation.h" #import "OFMessagePackRepresentation.h" |
| ︙ | |||
120 121 122 123 124 125 126 | 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | - - | @property (readonly, nonatomic) double doubleValue; /** * @brief The OFNumber as a string. */ @property (readonly, nonatomic) OFString *stringValue; |
| ︙ | |||
233 234 235 236 237 238 239 | 218 219 220 221 222 223 224 225 226 227 228 229 230 231 | - - - - | * @brief Creates a new OFNumber with the specified `double`. * * @param value The `double` value which the OFNumber should contain * @return A new autoreleased OFNumber */ + (instancetype)numberWithDouble: (double)value; |
| ︙ |