Tidied for consistency

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29262 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2010-01-11 12:49:18 +00:00
parent cb1ee03381
commit eacf55249b
2 changed files with 6 additions and 6 deletions

View file

@ -42,7 +42,7 @@
#import "NSCallBacks.h" #import "NSCallBacks.h"
#import "GSPrivate.h" #import "GSPrivate.h"
static Class concreteClass = 0; static Class concreteClass = Nil;
/* Here is the interface for the concrete class as used by the functions. /* Here is the interface for the concrete class as used by the functions.
*/ */
@ -299,9 +299,9 @@ NSCreateHashTableWithZone(
{ {
GSIMapTable table; GSIMapTable table;
if (concreteClass == 0) if (concreteClass == Nil)
{ {
[NSConcreteHashTable class]; [NSConcreteHashTable class]; // Force +initialize
} }
table = (GSIMapTable)[concreteClass allocWithZone: zone]; table = (GSIMapTable)[concreteClass allocWithZone: zone];
@ -808,7 +808,7 @@ const NSHashTableCallBacks NSPointerToStructHashCallBacks =
+ (void) initialize + (void) initialize
{ {
if (concreteClass == nil) if (concreteClass == Nil)
{ {
concreteClass = [NSConcreteHashTable class]; concreteClass = [NSConcreteHashTable class];
} }

View file

@ -439,7 +439,7 @@ NSCreateMapTableWithZone(
if (concreteClass == Nil) if (concreteClass == Nil)
{ {
concreteClass = [NSConcreteMapTable class]; [NSConcreteMapTable class]; // Force +initialize
} }
table = (GSIMapTable)[concreteClass allocWithZone: zone]; table = (GSIMapTable)[concreteClass allocWithZone: zone];
@ -1133,7 +1133,7 @@ const NSMapTableValueCallBacks NSOwnedPointerMapValueCallBacks =
+ (void) initialize + (void) initialize
{ {
if (concreteClass == Nil) if (concreteClass == 0)
{ {
concreteClass = [NSConcreteMapTable class]; concreteClass = [NSConcreteMapTable class];
} }