From 741c3349b09c8774fcd013e3bdd7d9e7f6b470ce Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 31 Dec 2020 15:15:05 +0100 Subject: Format all code with clang-format --- zix/chunk.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'zix/chunk.h') 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 */ -- cgit v1.2.1