diff options
author | David Robillard <d@drobilla.net> | 2020-12-31 15:15:05 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-31 15:21:29 +0100 |
commit | 741c3349b09c8774fcd013e3bdd7d9e7f6b470ce (patch) | |
tree | a941f6567b85255570e5492f3c66a842704ba9f7 /zix/chunk.h | |
parent | 841c766d86dc35ab37c4fef8ec866d06c41bc383 (diff) | |
download | zix-741c3349b09c8774fcd013e3bdd7d9e7f6b470ce.tar.gz zix-741c3349b09c8774fcd013e3bdd7d9e7f6b470ce.tar.bz2 zix-741c3349b09c8774fcd013e3bdd7d9e7f6b470ce.zip |
Format all code with clang-format
Diffstat (limited to 'zix/chunk.h')
-rw-r--r-- | zix/chunk.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/zix/chunk.h b/zix/chunk.h index 193e537..3646718 100644 --- a/zix/chunk.h +++ b/zix/chunk.h @@ -31,18 +31,20 @@ extern "C" { A chunk of memory. */ typedef struct { - void* buf; /**< Start of memory chunk */ - size_t len; /**< Length of memory chunk */ + void* buf; /**< Start of memory chunk */ + size_t len; /**< Length of memory chunk */ } ZixChunk; -ZIX_PURE_API uint32_t +ZIX_PURE_API +uint32_t zix_chunk_hash(const ZixChunk* chunk); -ZIX_PURE_API bool +ZIX_PURE_API +bool zix_chunk_equal(const ZixChunk* a, const ZixChunk* b); #ifdef __cplusplus -} /* extern "C" */ +} /* extern "C" */ #endif -#endif /* ZIX_CHUNK_H */ +#endif /* ZIX_CHUNK_H */ |