Differences From Artifact [9c395a3fd8]:
- File src/OFMutableString.m — part of check-in [a06354b42a] at 2017-10-22 15:05:39 on branch trunk — Make Apple GCC with -Wshadow happy (user: js, size: 14091) [annotate] [blame] [check-ins using]
To Artifact [1a24b0bb52]:
- File
src/OFMutableString.m
— part of check-in
[a2e849c681]
at
2017-10-30 00:23:35
on branch trunk
— Add class properties where appropriate
This improves Swift compatibility. (user: js, size: 14090) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
277 278 279 280 281 282 283 | void *pool = objc_autoreleasePoolPush(); const of_unichar_t *characters = [self characters]; size_t length = [self length]; bool isStart = true; for (size_t i = 0; i < length; i++) { char (*function)(char) = | | | 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 | void *pool = objc_autoreleasePoolPush(); const of_unichar_t *characters = [self characters]; size_t length = [self length]; bool isStart = true; for (size_t i = 0; i < length; i++) { char (*function)(char) = (isStart ? startFunction : middleFunction); of_unichar_t c = characters[i]; if (c <= 0x7F) [self setCharacter: (int)function(c) atIndex: i]; isStart = of_ascii_isspace(c); |
︙ | ︙ |