diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-06-09 06:20:09 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-06-09 09:38:58 +0200 |
commit | 83e6715e39f9496b3043df70b1545e0a6284619f (patch) | |
tree | 5fdc4fe8cfc5a3eeead9b65233240ac07d349647 /compat/hash.hpp | |
parent | 29cd4d4e3bbf519a95763394801caeb43c7b5629 (diff) |
hash: add library with multiple hash implementations
Diffstat (limited to 'compat/hash.hpp')
-rw-r--r-- | compat/hash.hpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/compat/hash.hpp b/compat/hash.hpp index a9e9b355..7f30ce8c 100644 --- a/compat/hash.hpp +++ b/compat/hash.hpp @@ -1,11 +1,2 @@ #pragma once - -namespace floormat { - -size_t hash_buf(const void* __restrict buf, size_t size) noexcept; -size_t hash_int(uint32_t x) noexcept; -size_t hash_int(uint64_t x) noexcept; - -struct hash_string_view { size_t operator()(StringView str) const noexcept; }; - -} // namespace floormat +#include "../hash/hash.hpp" |