Differences From Artifact [efa414982c]:
- File src/bridge/OFNumber+NSObject.m — part of check-in [c7f0229795] at 2020-01-02 01:51:34 on branch trunk — Update copyright (user: js, size: 2135) [annotate] [blame] [check-ins using] [more...]
To Artifact [444f15ed81]:
- File
src/bridge/OFNumber+NSObject.m
— part of check-in
[9e9ce6aa1c]
at
2020-09-27 03:08:51
on branch trunk
— Work around bugs in Apple GCC 4.0.1
Still miscompiles things. (user: js, size: 2143) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
20 21 22 23 24 25 26 | #import "OFNumber+NSObject.h" #import "OFInvalidArgumentException.h" int _OFNumber_NSObject_reference; @implementation OFNumber (NSObject) | | | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | #import "OFNumber+NSObject.h" #import "OFInvalidArgumentException.h" int _OFNumber_NSObject_reference; @implementation OFNumber (NSObject) - (NSNumber *)NSObject { const char *type = self.objCType; if (strcmp(type, "B") == 0) return [NSNumber numberWithBool: self.boolValue]; else if (strcmp(type, "c") == 0) return [NSNumber numberWithChar: self.charValue]; |
︙ | ︙ |