diff --git a/Headers/gnustep/base/NSSet.h b/Headers/gnustep/base/NSSet.h index 747fbbb9f..e8026dc94 100644 --- a/Headers/gnustep/base/NSSet.h +++ b/Headers/gnustep/base/NSSet.h @@ -1,4 +1,4 @@ -/* Interface for NSSet for GNUStep +/* Interface for NSSet, NSMutableSet, NSCountedSet for GNUStep Copyright (C) 1995 Free Software Foundation, Inc. Written by: R. Andrew McCallum @@ -77,4 +77,19 @@ @end +@interface NSCountedSet : NSMutableSet + ++ allocWithZone: (NSZone*)zone; +- initWithCapacity: (unsigned)numItems; +- initWithArray: (NSArray*)array; +- initWithSet: (NSSet*)otherSet; + +- (void) addObject: anObject; +- (void) removeObject: anObject; +- (unsigned int) countForObject: anObject; +- (NSEnumerator*) objectEnumerator; + +@end + + #endif diff --git a/Source/objects/NSSet.h b/Source/objects/NSSet.h index bfbcb542b..767fcd184 100644 --- a/Source/objects/NSSet.h +++ b/Source/objects/NSSet.h @@ -36,11 +36,9 @@ @end @interface NSMutableSet (GNU) -#if 0 + (unsigned) defaultCapacity; - initWithType: (const char *)contentEncoding capacity: (unsigned)aCapacity; -#endif @end @interface NSCountedSet (GNU)