mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
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:
parent
18e23a6101
commit
1b769be568
1 changed files with 14 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue