Differences From Artifact [509373b942]:
- File utils/ofhttp/ProgressBar.m — part of check-in [7ffbd24169] at 2017-02-27 21:57:16 on branch trunk — ofhttp: Move formatting out of localized strings (user: js, size: 6909) [annotate] [blame] [check-ins using]
To Artifact [f1b2b790af]:
- File
utils/ofhttp/ProgressBar.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: 6923) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
28 29 30 31 32 33 34 | #define GIBIBYTE (1024 * 1024 * 1024) #define MEBIBYTE (1024 * 1024) #define KIBIBYTE (1024) #define UPDATE_INTERVAL 0.1 @implementation ProgressBar | | | | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | #define GIBIBYTE (1024 * 1024 * 1024) #define MEBIBYTE (1024 * 1024) #define KIBIBYTE (1024) #define UPDATE_INTERVAL 0.1 @implementation ProgressBar - (instancetype)initWithLength: (intmax_t)length resumedFrom: (intmax_t)resumedFrom { self = [super init]; @try { void *pool = objc_autoreleasePoolPush(); _length = length; |
︙ | ︙ |