([HashTable -isKey]): Updated isKey to use the new hash_value_for_key

function in the runtime, and thereby allow for nulls in HashTables.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1775 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1996-09-17 14:20:23 +00:00
parent 4935a94f87
commit 7d6c23c297

View file

@ -223,7 +223,7 @@ compare_long_ints (const void *k1, const void *k2)
- (BOOL) isKey:(const void *)aKey
{
return (hash_value_for_key(_buckets, aKey)) ? YES : NO;
return hash_is_key_in_hash(_buckets, aKey);
}
- (void *) valueForKey:(const void *)aKey