plhashnumber.rst (511B)
1 Syntax 2 ------ 3 4 .. code:: 5 6 #include <plhash.h> 7 8 typedef PRUint32 PLHashNumber; 9 10 #define PL_HASH_BITS 32 11 12 13 Description 14 ----------- 15 16 ``PLHashNumber`` is an unsigned 32-bit integer. ``PLHashNumber`` is the 17 data type of the return value of a hash function. A hash function maps a 18 key to a hash number, which is then used to compute the index of the 19 bucket. 20 21 The macro ``PL_HASH_BITS`` is the size (in bits) of the ``PLHashNumber`` 22 data type and has the value of 32. 23 24 25 See Also 26 -------- 27 28 ``PLHashFunction``