Differences From Artifact [4a3385c744]:
- File src/OFMutableString_UTF8.m — part of check-in [dbdc125802] at 2017-06-10 11:46:08 on branch trunk — macros.h: Add of_ascii_isspace() (user: js, size: 20058) [annotate] [blame] [check-ins using] [more...]
To Artifact [4eb8ccee47]:
- File
src/OFMutableString_UTF8.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: 20072) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
37 38 39 40 41 42 43 | @implementation OFMutableString_UTF8 + (void)initialize { if (self == [OFMutableString_UTF8 class]) [self inheritMethodsFromClass: [OFString_UTF8 class]]; } | | | | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | @implementation OFMutableString_UTF8 + (void)initialize { if (self == [OFMutableString_UTF8 class]) [self inheritMethodsFromClass: [OFString_UTF8 class]]; } - (instancetype)initWithUTF8StringNoCopy: (char *)UTF8String freeWhenDone: (bool)freeWhenDone { @try { self = [self initWithUTF8String: UTF8String]; } @finally { if (freeWhenDone) free(UTF8String); } |
︙ | ︙ |