shash_set_buckets_allocated - set the number of buckets |
#include <hash.h> void shash_set_buckets_allocated (shash, int); |
Set the number of buckets allocated. You may ONLY do this when you have just created the shash and before you have inserted any elements. Otherwise the results are undefined (and probably bad). The number of buckets MUST be a power of 2. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
c2lib-1.2.13 |