diff options
author | jwerle <joseph.werle@gmail.com> | 2024-12-31 13:48:07 -0500 |
---|---|---|
committer | jwerle <joseph.werle@gmail.com> | 2024-12-31 13:48:07 -0500 |
commit | 81a435207adabc6d8e4211728cdb55d17bd63a61 (patch) | |
tree | b5af768ec7ade69abf31495688933b59e7212036 /murmurhash.h | |
parent | a15164f747e51484360a01b404531fe51c2e5b7a (diff) |
chore(): clean up
Diffstat (limited to 'murmurhash.h')
-rw-r--r-- | murmurhash.h | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/murmurhash.h b/murmurhash.h index b6b6e43..598085a 100644 --- a/murmurhash.h +++ b/murmurhash.h @@ -1,30 +1,25 @@ /** * `murmurhash.h' - murmurhash * - * copyright (c) 2014-2022 joseph werle <joseph.werle@gmail.com> + * copyright (c) 2014-2025 joseph werle <joseph.werle@gmail.com> */ - #ifndef MURMURHASH_H #define MURMURHASH_H #include <stdint.h> -#define MURMURHASH_VERSION "0.1.0" +#define MURMURHASH_VERSION "0.2.0" #ifdef __cplusplus extern "C" { #endif + /** + * Returns a murmur hash of `key' based on `seed' + * using the MurmurHash3 algorithm + */ -/** - * Returns a murmur hash of `key' based on `seed' - * using the MurmurHash3 algorithm - */ - -uint32_t -murmurhash (const char *, uint32_t, uint32_t); - + uint32_t murmurhash (const char*, uint32_t, uint32_t); #ifdef __cplusplus } #endif - #endif |