Differences From Artifact [89bdff5a7e]:
- File
src/OFPlugin.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: 2511) [annotate] [blame] [check-ins using]
To Artifact [c1ce7e5d1a]:
- File src/OFPlugin.m — part of check-in [0a4565fb0f] at 2017-11-05 18:25:38 on branch trunk — Use -[isMemberOfClass:] instead of object_getClass (user: js, size: 2510) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
92 93 94 95 96 97 98 | plugin->_handle = handle; return plugin; } - (instancetype)init { | | | 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | plugin->_handle = handle; return plugin; } - (instancetype)init { if ([self isMemberOfClass: [OFPlugin class]]) { @try { [self doesNotRecognizeSelector: _cmd]; } @catch (id e) { [self release]; @throw e; } |
︙ | ︙ |