Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kMap_SetHashFx ( kMap  map,
kHashFx  function 
)

Sets a custom hash code generator.

Calling this method will cause the existing map keys to be rehashed using using the new hash function. If changing both the equals function and the hash function, change equals first, then hash.

Parameters
mapMap object.
functionHash code function (or kNULL to unset).
Returns
Operation status.