Differences From Artifact [886273d0e1]:
- File src/OFNumber.m — part of check-in [282aadb9df] at 2009-05-29 09:28:39 on branch trunk — Always use [self alloc]. (user: js, size: 13853) [annotate] [blame] [check-ins using]
To Artifact [6fac52d2f8]:
- File
src/OFNumber.m
— part of check-in
[67bb344ba6]
at
2009-06-30 12:07:21
on branch trunk
— A few renames in OFObject, see details.
* +[conformsTo:] to +[conformsToProtocol:].
* -[isKindOf:] to -[isKindOfClass:].
* -[respondsTo:] to -[respondsToSelector:].
* -[conformsTo:] to -[conformsToProtocol:].
* -[methodFor:] to -[methodForSelector:]. (user: js, size: 13858) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
711 712 713 714 715 716 717 | - (long double)asLongDouble { RETURN_AS(long double) } - (BOOL)isEqual: (id)obj { | | | 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 | - (long double)asLongDouble { RETURN_AS(long double) } - (BOOL)isEqual: (id)obj { if (![obj isKindOfClass: [OFNumber class]]) return NO; switch (type) { case OF_NUMBER_CHAR: case OF_NUMBER_SHORT: case OF_NUMBER_INT: case OF_NUMBER_LONG: |
︙ | ︙ |