Differences From Artifact [3f243b3679]:
- File
src/OFMutableDictionary.m
— part of check-in
[4fb0f4bf66]
at
2013-02-18 11:07:29
on branch trunk
— Add -[OFMutableDictionary initWithCapacity:].
This was already implemented in OFDictionary_hashtable for internal
usage and is now publicly available. (user: js, size: 3876) [annotate] [blame] [check-ins using]
To Artifact [0f0750039f]:
- File src/OFMutableDictionary.m — part of check-in [adaf5a3e6e] at 2013-02-18 11:31:17 on branch trunk — A few small fixes for OS X/PPC. (user: js, size: 3876) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
143 144 145 146 147 148 149 | } - init { if (object_getClass(self) == [OFMutableDictionary class]) { @try { [self doesNotRecognizeSelector: _cmd]; | < > > < > > | 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 | } - init { if (object_getClass(self) == [OFMutableDictionary class]) { @try { [self doesNotRecognizeSelector: _cmd]; } @catch (id e) { [self release]; @throw e; } abort(); } return [super init]; } - initWithCapacity: (size_t)capacity { @try { [self doesNotRecognizeSelector: _cmd]; } @catch (id e) { [self release]; @throw e; } abort(); } - (void)setObject: (id)object forKey: (id)key { [self doesNotRecognizeSelector: _cmd]; abort(); |
︙ | ︙ |