summaryrefslogtreecommitdiffstats
path: root/zix/chunk.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-11 12:22:28 +0100
committerDavid Robillard <d@drobilla.net>2020-11-11 12:26:56 +0100
commit3c18febd87234f54c149bb4a6353e3b0e0103db7 (patch)
tree26c32150fada522778e8df63b747fbe10e7aa3dc /zix/chunk.h
parent387f52cd29b6078d441da5fd07a951a481c10b6d (diff)
downloadzix-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.h4
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