Differences From Artifact [078edcac44]:
- File
src/OFMutableDictionary.m
— part of check-in
[e2b06423e0]
at
2010-09-05 23:19:08
on branch trunk
— Replace OFObject* with id in many places.
We assume now that every object understands retain, release, etc. so
that we can weaken the type from OFObject* to id. This makes it
possible to use different root object classes. (user: js, size: 6187) [annotate] [blame] [check-ins using]
To Artifact [0596555fcb]:
- File src/OFMutableDictionary.m — part of check-in [8a7ca573c4] at 2010-10-25 23:03:22 on branch trunk — Clean up a lot of code (mostly init methods) and fix a missing rethrow. (user: js, size: 6180) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
137 138 139 140 141 142 143 | if (i >= last) @throw [OFOutOfRangeException newWithClass: isa]; b = [self allocMemoryWithSize: sizeof(BUCKET)]; @try { key = [key copy]; | | > | | 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | if (i >= last) @throw [OFOutOfRangeException newWithClass: isa]; b = [self allocMemoryWithSize: sizeof(BUCKET)]; @try { key = [key copy]; } @catch (id e) { [self freeMemory: b]; @throw e; } @try { [obj retain]; } @catch (id e) { [self freeMemory: b]; [(id)key release]; @throw e; } b->key = key; b->object = obj; |
︙ | ︙ |