mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
b43991f8f6
commit
e13a513f78
2 changed files with 6 additions and 6 deletions
|
@ -42,7 +42,7 @@
|
|||
#import "NSCallBacks.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.
|
||||
*/
|
||||
|
@ -299,9 +299,9 @@ NSCreateHashTableWithZone(
|
|||
{
|
||||
GSIMapTable table;
|
||||
|
||||
if (concreteClass == 0)
|
||||
if (concreteClass == Nil)
|
||||
{
|
||||
[NSConcreteHashTable class];
|
||||
[NSConcreteHashTable class]; // Force +initialize
|
||||
}
|
||||
table = (GSIMapTable)[concreteClass allocWithZone: zone];
|
||||
|
||||
|
@ -808,7 +808,7 @@ const NSHashTableCallBacks NSPointerToStructHashCallBacks =
|
|||
|
||||
+ (void) initialize
|
||||
{
|
||||
if (concreteClass == nil)
|
||||
if (concreteClass == Nil)
|
||||
{
|
||||
concreteClass = [NSConcreteHashTable class];
|
||||
}
|
||||
|
|
|
@ -439,7 +439,7 @@ NSCreateMapTableWithZone(
|
|||
|
||||
if (concreteClass == Nil)
|
||||
{
|
||||
concreteClass = [NSConcreteMapTable class];
|
||||
[NSConcreteMapTable class]; // Force +initialize
|
||||
}
|
||||
table = (GSIMapTable)[concreteClass allocWithZone: zone];
|
||||
|
||||
|
@ -1133,7 +1133,7 @@ const NSMapTableValueCallBacks NSOwnedPointerMapValueCallBacks =
|
|||
|
||||
+ (void) initialize
|
||||
{
|
||||
if (concreteClass == Nil)
|
||||
if (concreteClass == 0)
|
||||
{
|
||||
concreteClass = [NSConcreteMapTable class];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue