summaryrefslogtreecommitdiffhomepage
path: root/compat/int-hash.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-06-08 08:20:12 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-06-08 10:38:53 +0200
commit39670daf26c4fbbfe9148dec30c9f0e075eff404 (patch)
tree50778183928c5aad1a9308a86852bb4a68581b30 /compat/int-hash.hpp
parent63edd105d758a39b856f9099b339de30895df8ac (diff)
improve hash api and hash test
Diffstat (limited to 'compat/int-hash.hpp')
-rw-r--r--compat/int-hash.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/int-hash.hpp b/compat/int-hash.hpp
index 27f2651f..c512d249 100644
--- a/compat/int-hash.hpp
+++ b/compat/int-hash.hpp
@@ -18,6 +18,7 @@ namespace floormat { // todo
uint64_t hash_64(const void* buf, size_t size) noexcept;
uint32_t hash_32(const void* buf, size_t size) noexcept;
+size_t hash_buf(const void* buf, size_t size) noexcept;
size_t hash_int(uint32_t x) noexcept;
size_t hash_int(uint64_t x) noexcept;