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:
richard 2000-10-30 18:00:27 +00:00
parent c6ae88eece
commit 7310a9148b
23 changed files with 294 additions and 111 deletions

View file

@ -44,7 +44,7 @@ static Class GSUString_class;
static Class GSMString_class;
static Class NXConstantString_class;
static NSCharacterSet *defaultSkipSet;
static SEL memSel = @selector(characterIsMember:);
static SEL memSel;
/*
* Hack for direct access to internals of an concrete string object.
@ -74,6 +74,7 @@ typedef struct {
{
if (self == [NSScanner class])
{
memSel = @selector(characterIsMember:);
defaultSkipSet = [NSCharacterSet whitespaceAndNewlineCharacterSet];
IF_NO_GC(RETAIN(defaultSkipSet));
NSString_class = [NSString class];