diff options
author | David Robillard <d@drobilla.net> | 2020-11-11 13:28:26 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-11 13:28:26 +0100 |
commit | f02ff178ad0fc9c180a718cfa6786e2e5465f28a (patch) | |
tree | 7bcd14c417bb5d1d43503ec0dd2137749c81972e /src/zix/digest.h | |
parent | 3faa8cc20b2c0fd3ba414e5af2bbddc96cd30f7c (diff) | |
download | sord-f02ff178ad0fc9c180a718cfa6786e2e5465f28a.tar.gz sord-f02ff178ad0fc9c180a718cfa6786e2e5465f28a.tar.bz2 sord-f02ff178ad0fc9c180a718cfa6786e2e5465f28a.zip |
Update zix
Diffstat (limited to 'src/zix/digest.h')
-rw-r--r-- | src/zix/digest.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/zix/digest.h b/src/zix/digest.h index 16ba9b9..c9f3ec0 100644 --- a/src/zix/digest.h +++ b/src/zix/digest.h @@ -29,7 +29,7 @@ extern "C" { /** Return an initial empty digest value. */ -ZIX_API uint32_t +ZIX_CONST_API uint32_t zix_digest_start(void); /** @@ -37,7 +37,7 @@ zix_digest_start(void); This can be used for any size or alignment. */ -ZIX_API uint32_t +ZIX_PURE_API uint32_t zix_digest_add(uint32_t hash, const void* buf, size_t len); /** @@ -45,7 +45,7 @@ zix_digest_add(uint32_t hash, const void* buf, size_t len); Both `buf` and `len` must be evenly divisible by 8 (64 bits). */ -ZIX_API uint32_t +ZIX_PURE_API uint32_t zix_digest_add_64(uint32_t hash, const void* buf, size_t len); /** @@ -53,7 +53,7 @@ zix_digest_add_64(uint32_t hash, const void* buf, size_t len); This hashes the value of the pointer itself, and does not dereference `ptr`. */ -ZIX_API uint32_t +ZIX_CONST_API uint32_t zix_digest_add_ptr(uint32_t hash, const void* ptr); #ifdef __cplusplus |