From 0f5005ebd2f6c8f9d5f2afba094752b5c4823101 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 18 Sep 2021 13:01:34 -0400 Subject: Fix whitespace --- include/zix/btree.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/include/zix/btree.h b/include/zix/btree.h index 9c86a44..af10afb 100644 --- a/include/zix/btree.h +++ b/include/zix/btree.h @@ -52,11 +52,9 @@ typedef struct ZixBTreeNodeImpl ZixBTreeNode; iterators can be allocated on the stack. */ typedef struct { - ZixBTreeNode* ZIX_NULLABLE - nodes[ZIX_BTREE_MAX_HEIGHT]; ///< Parallel node pointer stacky - - uint16_t indexes[ZIX_BTREE_MAX_HEIGHT]; ///< Parallel child index stack - uint16_t level; ///< Current level in stack + ZixBTreeNode* ZIX_NULLABLE nodes[ZIX_BTREE_MAX_HEIGHT]; ///< Node stack + uint16_t indexes[ZIX_BTREE_MAX_HEIGHT]; ///< Index stack + uint16_t level; ///< Current level } ZixBTreeIter; /// A static end iterator for convenience @@ -77,8 +75,8 @@ static const ZixBTreeIter zix_btree_end_iter = { ZIX_API ZixBTree* ZIX_ALLOCATED zix_btree_new(ZixAllocator* ZIX_NULLABLE allocator, - ZixComparator ZIX_NONNULL cmp, - const void* ZIX_NULLABLE cmp_data); + ZixComparator ZIX_NONNULL cmp, + const void* ZIX_NULLABLE cmp_data); /** Free `t` and all the nodes it contains. -- cgit v1.2.1