Differences From Artifact [39d718e85f]:
- File
utils/ofzip/GZIPArchive.m
— part of check-in
[41949ecc65]
at
2017-08-05 17:48:55
on branch trunk
— ofzip: Support for writing files
Not supported for any file formats, yet. (user: js, size: 3625) [annotate] [blame] [check-ins using]
To Artifact [c97ab3d19b]:
- File
utils/ofzip/GZIPArchive.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: 3639) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
48 49 50 51 52 53 54 | + (instancetype)archiveWithStream: (OF_KINDOF(OFStream *))stream mode: (OFString *)mode { return [[[self alloc] initWithStream: stream mode: mode] autorelease]; } | | | | 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | + (instancetype)archiveWithStream: (OF_KINDOF(OFStream *))stream mode: (OFString *)mode { return [[[self alloc] initWithStream: stream mode: mode] autorelease]; } - (instancetype)initWithStream: (OF_KINDOF(OFStream *))stream mode: (OFString *)mode { self = [super init]; @try { _stream = [[OFGZIPStream alloc] initWithStream: stream mode: mode]; } @catch (id e) { |
︙ | ︙ |