diff options
Diffstat (limited to 'Build/source/texk/lcdf-typetools/lcdf-typetools-src/include/lcdf/hashcode.hh')
-rw-r--r-- | Build/source/texk/lcdf-typetools/lcdf-typetools-src/include/lcdf/hashcode.hh | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/Build/source/texk/lcdf-typetools/lcdf-typetools-src/include/lcdf/hashcode.hh b/Build/source/texk/lcdf-typetools/lcdf-typetools-src/include/lcdf/hashcode.hh deleted file mode 100644 index 53a0e428989..00000000000 --- a/Build/source/texk/lcdf-typetools/lcdf-typetools-src/include/lcdf/hashcode.hh +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef LCDF_HASHCODE_HH -#define LCDF_HASHCODE_HH -#include <stddef.h> - -typedef size_t hashcode_t; ///< Typical type for a hashcode() value. - -inline hashcode_t -hashcode(int x) -{ - return static_cast<hashcode_t>(x); -} - -inline hashcode_t -hashcode(unsigned x) -{ - return static_cast<hashcode_t>(x); -} - -inline hashcode_t -hashcode(long x) -{ - return static_cast<hashcode_t>(x); -} - -inline hashcode_t -hashcode(unsigned long x) -{ - return static_cast<hashcode_t>(x); -} - -#endif |