Differences From Artifact [b98ac3f694]:
- File
src/OFSeekableStream.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: 1415) [annotate] [blame] [check-ins using]
To Artifact [7d5b210453]:
- File src/OFSeekableStream.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: 1414) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
22 23 24 25 26 27 28 | #include <stdio.h> #import "OFSeekableStream.h" @implementation OFSeekableStream - (instancetype)init { | | | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | #include <stdio.h> #import "OFSeekableStream.h" @implementation OFSeekableStream - (instancetype)init { if ([self isMemberOfClass: [OFSeekableStream class]]) { @try { [self doesNotRecognizeSelector: _cmd]; abort(); } @catch (id e) { [self release]; @throw e; } |
︙ | ︙ |