Differences From Artifact [402455fc05]:
- File src/OFNumber.m — part of check-in [bceb7ed4c9] at 2019-03-08 00:35:48 on branch trunk — Use dot syntax (user: js, size: 30876) [annotate] [blame] [check-ins using]
To Artifact [f90d5af790]:
- File src/OFNumber.m — part of check-in [f5558d0919] at 2019-12-14 18:48:50 on branch trunk — OFNumber: Add -[stringValue] (user: js, size: 30935) [annotate] [blame] [check-ins using] [more...]
︙ | |||
1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 | 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 | + + + + + | - (id)copy { return [self retain]; } - (OFString *)description { return [self stringValue]; } - (OFString *)stringValue { OFMutableString *ret; switch (_type) { case OF_NUMBER_TYPE_BOOL: return (_value.bool_ ? @"true" : @"false"); case OF_NUMBER_TYPE_UCHAR: |
︙ |