Differences From Artifact [065f154d58]:
- File
src/OFDictionary.m
— part of check-in
[cbdd534337]
at
2009-04-12 14:51:00
on branch trunk
— Get rid of the dependency on Object.
This allows libobjfw to run on ObjC2-only runtimes like the one on the
iPhone. However, it's still relying on objc_msgSendv for plugins, which
is unavailable in ObjC2-only runtimes, thus OFPlugins are unavailable
on the iPhone until I write a replacement for objc_msgSendv. (user: js, size: 2751) [annotate] [blame] [check-ins using]
To Artifact [ae861b76c6]:
- File
src/OFDictionary.m
— part of check-in
[139591afe1]
at
2009-04-19 20:34:38
on branch trunk
— Use isa instead of [self class].
Since we don't use Object anymore and define isa in OFObject, we can
rely on it. (user: js, size: 2742) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
45 46 47 48 49 50 51 | return self; } - initWithHashSize: (int)hashsize { if ((self = [super init])) { if (hashsize < 8 || hashsize > 31) { | | | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | return self; } - initWithHashSize: (int)hashsize { if ((self = [super init])) { if (hashsize < 8 || hashsize > 31) { Class c = isa; [self free]; @throw [OFInvalidArgumentException newWithClass: c andSelector: _cmd]; } size = (size_t)1 << hashsize; |
︙ | ︙ |