mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Minor modification for Apple runtime
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7933 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c6ae88eece
commit
7310a9148b
23 changed files with 294 additions and 111 deletions
|
@ -52,11 +52,12 @@ static Class NSMutableDictionary_abstract_class;
|
|||
static Class NSDictionary_concrete_class;
|
||||
static Class NSMutableDictionary_concrete_class;
|
||||
|
||||
static SEL nxtSel = @selector(nextObject);
|
||||
static SEL objSel = @selector(objectForKey:);
|
||||
static SEL remSel = @selector(removeObjectForKey:);
|
||||
static SEL setSel = @selector(setObject:forKey:);
|
||||
static SEL appSel = @selector(appendString:);
|
||||
static SEL eqSel;
|
||||
static SEL nxtSel;
|
||||
static SEL objSel;
|
||||
static SEL remSel;
|
||||
static SEL setSel;
|
||||
static SEL appSel;
|
||||
|
||||
+ (void) initialize
|
||||
{
|
||||
|
@ -68,6 +69,13 @@ static SEL appSel = @selector(appendString:);
|
|||
NSMutableDictionary_abstract_class = [NSMutableDictionary class];
|
||||
NSDictionary_concrete_class = [NSGDictionary class];
|
||||
NSMutableDictionary_concrete_class = [NSGMutableDictionary class];
|
||||
|
||||
eqSel = @selector(isEqual:);
|
||||
nxtSel = @selector(nextObject);
|
||||
objSel = @selector(objectForKey:);
|
||||
remSel = @selector(removeObjectForKey:);
|
||||
setSel = @selector(setObject:forKey:);
|
||||
appSel = @selector(appendString:);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -543,7 +551,6 @@ static SEL appSel = @selector(appendString:);
|
|||
}
|
||||
else
|
||||
{
|
||||
static SEL eqSel = @selector(isEqual:);
|
||||
NSEnumerator *e = [self keyEnumerator];
|
||||
IMP nxtObj = [e methodForSelector: nxtSel];
|
||||
IMP myObj = [self methodForSelector: objSel];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue