diff options
author | David Robillard <d@drobilla.net> | 2020-11-11 12:22:28 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-11 12:26:56 +0100 |
commit | 3c18febd87234f54c149bb4a6353e3b0e0103db7 (patch) | |
tree | 26c32150fada522778e8df63b747fbe10e7aa3dc /zix/chunk.h | |
parent | 387f52cd29b6078d441da5fd07a951a481c10b6d (diff) | |
download | zix-3c18febd87234f54c149bb4a6353e3b0e0103db7.tar.gz zix-3c18febd87234f54c149bb4a6353e3b0e0103db7.tar.bz2 zix-3c18febd87234f54c149bb4a6353e3b0e0103db7.zip |
Add const, pure, and malloc function attributes
Diffstat (limited to 'zix/chunk.h')
-rw-r--r-- | zix/chunk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zix/chunk.h b/zix/chunk.h index 162df41..193e537 100644 --- a/zix/chunk.h +++ b/zix/chunk.h @@ -35,10 +35,10 @@ typedef struct { size_t len; /**< Length of memory chunk */ } ZixChunk; -ZIX_API uint32_t +ZIX_PURE_API uint32_t zix_chunk_hash(const ZixChunk* chunk); -ZIX_API bool +ZIX_PURE_API bool zix_chunk_equal(const ZixChunk* a, const ZixChunk* b); #ifdef __cplusplus |