hash.c

Provides hash functions for standard data types.

  • Author: Edward Jones
  • Date: 2021-09-17

Source file

HASH_NUM

Construct a function which hashes a specified numeric type.

  • Param name: The name of the type to hash
  • Param type: The type of the values to hash

Returns: A function which hashes types

#define HASH_NUM(name, type)                                                                                           \