Differences From Artifact [e7cc2d1d1a]:
- File
src/OFDictionary.m
— part of check-in
[06ad922132]
at
2009-05-01 22:28:50
on branch trunk
— Work around a compiler bug that occurs on OS X.
It seems super has the wrong type (struct _objc_super*) inside a
@try block. (user: js, size: 3416) [annotate] [blame] [check-ins using]
To Artifact [9fb096432b]:
- File
src/OFDictionary.m
— part of check-in
[5ca127891c]
at
2009-05-03 21:33:49
on branch trunk
— Get rid of + new.
Additionally, make - accept return an autoreleased OFTCPSocket. (user: js, size: 3425) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
104 105 106 107 108 109 110 | if (key == nil || obj == nil) @throw [OFInvalidArgumentException newWithClass: isa]; hash = [key hash] & (size - 1); if (data[hash] == nil) | | | 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | if (key == nil || obj == nil) @throw [OFInvalidArgumentException newWithClass: isa]; hash = [key hash] & (size - 1); if (data[hash] == nil) data[hash] = [[OFList alloc] init]; for (iter = [data[hash] first]; iter != NULL; iter = iter->next->next) { if ([iter->object isEqual: key]) { [iter->next->object release]; [obj retain]; iter->next->object = obj; |
︙ | ︙ |