Differences From Artifact [815f2dd728]:
- File src/OFStream.m — part of check-in [481225349f] at 2017-09-24 12:24:23 on branch trunk — OFStream: Add support for async writes (user: js, size: 35402) [annotate] [blame] [check-ins using] [more...]
To Artifact [313554e809]:
- File
src/OFStream.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: 35420) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
63 64 65 66 67 68 69 | + (void)initialize { if (self == [OFStream class]) signal(SIGPIPE, SIG_IGN); } #endif | | | 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | + (void)initialize { if (self == [OFStream class]) signal(SIGPIPE, SIG_IGN); } #endif - (instancetype)init { if (object_getClass(self) == [OFStream class]) { @try { [self doesNotRecognizeSelector: _cmd]; abort(); } @catch (id e) { [self release]; |
︙ | ︙ | |||
99 100 101 102 103 104 105 | - (size_t)lowlevelWriteBuffer: (const void *)buffer length: (size_t)length { OF_UNRECOGNIZED_SELECTOR } | | | 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | - (size_t)lowlevelWriteBuffer: (const void *)buffer length: (size_t)length { OF_UNRECOGNIZED_SELECTOR } - (id)copy { return [self retain]; } - (bool)isAtEndOfStream { if (_readBufferLength > 0) |
︙ | ︙ |