Differences From Artifact [00eb95393f]:
- File src/OFMutableDictionary.m — part of check-in [e0c9168dfc] at 2013-02-18 12:27:09 on branch trunk — Add -[OFMutableArray initWithCapacity:]. (user: js, size: 3890) [annotate] [blame] [check-ins using]
To Artifact [e6fd44030a]:
- File
src/OFMutableDictionary.m
— part of check-in
[c5ef582958]
at
2013-03-04 17:20:15
on branch trunk
— Replace BOOL with bool.
The only places where BOOL is left are those where they are required by
the ABI. (user: js, size: 3890) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
195 196 197 198 199 200 201 | return [[OFDictionary alloc] initWithDictionary: self]; } #ifdef OF_HAVE_BLOCKS - (void)replaceObjectsUsingBlock: (of_dictionary_replace_block_t)block { [self enumerateKeysAndObjectsUsingBlock: ^ (id key, id object, | | | 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 | return [[OFDictionary alloc] initWithDictionary: self]; } #ifdef OF_HAVE_BLOCKS - (void)replaceObjectsUsingBlock: (of_dictionary_replace_block_t)block { [self enumerateKeysAndObjectsUsingBlock: ^ (id key, id object, bool *stop) { [self setObject: block(key, object, stop) forKey: key]; }]; } #endif - (void)makeImmutable { } @end |