summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-09-18 13:01:34 -0400
committerDavid Robillard <d@drobilla.net>2021-09-18 13:01:34 -0400
commit0f5005ebd2f6c8f9d5f2afba094752b5c4823101 (patch)
tree4a8d6c870076b42f06f8e313d1b97ac560aaef73
parenteb9f1bbad65c7f2bc102ee1d4012b461e5bb246b (diff)
downloadzix-0f5005ebd2f6c8f9d5f2afba094752b5c4823101.tar.gz
zix-0f5005ebd2f6c8f9d5f2afba094752b5c4823101.tar.bz2
zix-0f5005ebd2f6c8f9d5f2afba094752b5c4823101.zip
Fix whitespace
-rw-r--r--include/zix/btree.h12
1 files 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.