hash_get_buckets_used, hash_get_buckets_allocated - return the number of buckets in a hash |
#include <hash.h> int hash_get_buckets_used (hash); int hash_get_buckets_allocated (hash); |
Return the number of hash buckets used and allocated. The number of buckets allocated is always a power of 2. See also hash_set_buckets_allocated to change the number used in the hash. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
c2lib-1.2.13 |