Differences From Artifact [62db370766]:
- File
src/OFSet.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 8326) [annotate] [blame] [check-ins using]
To Artifact [9a3d14535d]:
- File src/OFSet.m — part of check-in [00476e4430] at 2017-10-11 20:53:10 on branch trunk — Fix shadowed variables and enable -Wshadow (user: js, size: 8260) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
209 210 211 212 213 214 215 | - (size_t)count { OF_UNRECOGNIZED_SELECTOR } - (id)valueForKey: (OFString *)key { | | < | 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 | - (size_t)count { OF_UNRECOGNIZED_SELECTOR } - (id)valueForKey: (OFString *)key { id ret; if ([key hasPrefix: @"@"]) { void *pool = objc_autoreleasePoolPush(); key = [key substringWithRange: of_range(1, [key length] - 1)]; ret = [[super valueForKey: key] retain]; objc_autoreleasePoolPop(pool); return [ret autorelease]; |
︙ | ︙ | |||
251 252 253 254 255 256 257 | [super setValue: value forKey: key]; objc_autoreleasePoolPop(pool); return; } | < < < | 250 251 252 253 254 255 256 257 258 259 260 261 262 263 | [super setValue: value forKey: key]; objc_autoreleasePoolPop(pool); return; } for (id object in self) [object setValue: value forKey: key]; } - (bool)containsObject: (id)object { |
︙ | ︙ |