Added NSGCountedSet interface.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@645 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-10-30 00:59:46 +00:00
parent 18e23a6101
commit 1b769be568

View file

@ -27,6 +27,7 @@
#include <objects/stdobjects.h>
#include <Foundation/NSSet.h>
#include <objects/Set.h>
#include <objects/Bag.h>
#include <objects/elt.h>
@interface NSGSet : NSSet
@ -41,7 +42,7 @@
@interface NSGMutableSet : NSMutableSet
{
/* For now, these must match the instance variables in objects/Array.h.
/* For now, these must match the instance variables in objects/Set.h.
This will change. */
coll_cache_ptr _contents_hash; // a hashtable to hold the contents;
int (*_comparison_function)(elt,elt);
@ -49,4 +50,16 @@
@end
@interface NSGCountedSet : NSCountedSet
{
/* For now, these must match the instance variables in objects/Bag.h.
This will change. */
coll_cache_ptr _contents_hash; // a hashtable to hold the contents;
int (*_comparison_function)(elt,elt);
unsigned int count;
}
@end
#endif /* __NSGSet_h_OBJECTS_INCLUDE */