add h_hashset_equal (set comparison)

This commit is contained in:
Sven M. Hallberg 2013-06-05 15:12:48 +02:00
parent 976205f9da
commit 636f741d88
2 changed files with 53 additions and 0 deletions

View file

@ -272,6 +272,7 @@ typedef HHashTable HHashSet;
#define h_hashset_empty(ht) h_hashtable_empty(ht)
#define h_hashset_del(ht,el) h_hashtable_del(ht,el)
#define h_hashset_free(ht) h_hashtable_free(ht)
bool h_hashset_equal(const HHashSet *a, const HHashSet *b);
bool h_eq_ptr(const void *p, const void *q);
HHashValue h_hash_ptr(const void *p);