Differences From Artifact [80f6393652]:
- File src/OFNull.m — part of check-in [c8f7b90082] at 2017-07-22 20:50:27 on branch trunk — Split OFDataArray into OFData and OFMutableData (user: js, size: 2367) [annotate] [blame] [check-ins using]
To Artifact [48127745a8]:
- File
src/OFNull.m
— part of check-in
[2f4e0df8be]
at
2017-10-17 00:33:37
on branch trunk
— Do not use implicit method return types
Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (user: js, size: 2413) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
37 38 39 40 41 42 43 | } + (OFNull *)null { return null; } | | | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | } + (OFNull *)null { return null; } - (instancetype)initWithSerialization: (OFXMLElement *)element { void *pool; [self release]; pool = objc_autoreleasePoolPush(); |
︙ | ︙ | |||
59 60 61 62 63 64 65 | } - (OFString *)description { return @"<null>"; } | | | 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | } - (OFString *)description { return @"<null>"; } - (id)copy { return self; } - (OFXMLElement *)XMLElementBySerializing { void *pool = objc_autoreleasePoolPush(); |
︙ | ︙ | |||
105 106 107 108 109 110 111 | { uint8_t type = 0xC0; return [OFData dataWithItems: &type count: 1]; } | | | | 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | { uint8_t type = 0xC0; return [OFData dataWithItems: &type count: 1]; } - (instancetype)autorelease { return self; } - (instancetype)retain { return self; } - (void)release { } |
︙ | ︙ |