Differences From Artifact [5b2fde875e]:
- File
src/OFSeekableStream.m
— part of check-in
[44f45c2e35]
at
2017-01-09 17:36:36
on branch trunk
— Update copyright
Forgot to add 2017, even though I already did quite some changes in
2017. (user: js, size: 1401) [annotate] [blame] [check-ins using]
To 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]
︙ | ︙ | |||
20 21 22 23 24 25 26 | #include <stdlib.h> #include <stdio.h> #import "OFSeekableStream.h" @implementation OFSeekableStream | | | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | #include <stdlib.h> #include <stdio.h> #import "OFSeekableStream.h" @implementation OFSeekableStream - (instancetype)init { if (object_getClass(self) == [OFSeekableStream class]) { @try { [self doesNotRecognizeSelector: _cmd]; abort(); } @catch (id e) { [self release]; |
︙ | ︙ |