diff options
author | David Robillard <d@drobilla.net> | 2022-06-28 18:48:13 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-06-28 19:02:49 -0400 |
commit | 5d62313812b2fee9a4986e6b7ca1af40fb4f2fb6 (patch) | |
tree | c26b76c969946723bbdd4c693bce9a257c971bd5 /include | |
parent | 24a2c931bc6b84c5fd132d8c892b46ff05a8b369 (diff) | |
download | zix-5d62313812b2fee9a4986e6b7ca1af40fb4f2fb6.tar.gz zix-5d62313812b2fee9a4986e6b7ca1af40fb4f2fb6.tar.bz2 zix-5d62313812b2fee9a4986e6b7ca1af40fb4f2fb6.zip |
Fix whitespace
Diffstat (limited to 'include')
-rw-r--r-- | include/zix/attributes.h | 2 | ||||
-rw-r--r-- | include/zix/btree.h | 4 | ||||
-rw-r--r-- | include/zix/hash.h | 8 | ||||
-rw-r--r-- | include/zix/tree.h | 8 |
4 files changed, 11 insertions, 11 deletions
diff --git a/include/zix/attributes.h b/include/zix/attributes.h index 3824ce6..602fac8 100644 --- a/include/zix/attributes.h +++ b/include/zix/attributes.h @@ -58,7 +58,7 @@ #elif defined(__GNUC__) # define ZIX_UNUSED(name) name##_unused __attribute__((__unused__)) #elif defined(_MSC_VER) -# define ZIX_UNUSED(name) __pragma(warning(suppress:4100)) name +# define ZIX_UNUSED(name) __pragma(warning(suppress : 4100)) name #else # define ZIX_UNUSED(name) name #endif diff --git a/include/zix/btree.h b/include/zix/btree.h index 3f3e28b..92e5c5f 100644 --- a/include/zix/btree.h +++ b/include/zix/btree.h @@ -126,8 +126,8 @@ zix_btree_insert(ZixBTree* ZIX_NONNULL t, void* ZIX_NULLABLE e); */ ZIX_API ZixStatus -zix_btree_remove(ZixBTree* ZIX_NONNULL t, - const void* ZIX_NULLABLE e, +zix_btree_remove(ZixBTree* ZIX_NONNULL t, + const void* ZIX_NULLABLE e, void* ZIX_NULLABLE* ZIX_NONNULL out, ZixBTreeIter* ZIX_NONNULL next); diff --git a/include/zix/hash.h b/include/zix/hash.h index 9716123..a0146de 100644 --- a/include/zix/hash.h +++ b/include/zix/hash.h @@ -267,8 +267,8 @@ zix_hash_insert(ZixHash* ZIX_NONNULL hash, ZixHashRecord* ZIX_NONNULL record); */ ZIX_API ZixStatus -zix_hash_erase(ZixHash* ZIX_NONNULL hash, - ZixHashIter i, +zix_hash_erase(ZixHash* ZIX_NONNULL hash, + ZixHashIter i, ZixHashRecord* ZIX_NULLABLE* ZIX_NONNULL removed); /** @@ -281,8 +281,8 @@ zix_hash_erase(ZixHash* ZIX_NONNULL hash, */ ZIX_API ZixStatus -zix_hash_remove(ZixHash* ZIX_NONNULL hash, - const ZixHashKey* ZIX_NONNULL key, +zix_hash_remove(ZixHash* ZIX_NONNULL hash, + const ZixHashKey* ZIX_NONNULL key, ZixHashRecord* ZIX_NULLABLE* ZIX_NONNULL removed); /** diff --git a/include/zix/tree.h b/include/zix/tree.h index 53cb375..eade134 100644 --- a/include/zix/tree.h +++ b/include/zix/tree.h @@ -51,8 +51,8 @@ zix_tree_size(const ZixTree* ZIX_NONNULL t); /// Insert the element `e` into `t` and point `ti` at the new element ZIX_API ZixStatus -zix_tree_insert(ZixTree* ZIX_NONNULL t, - void* ZIX_NULLABLE e, +zix_tree_insert(ZixTree* ZIX_NONNULL t, + void* ZIX_NULLABLE e, ZixTreeIter* ZIX_NULLABLE* ZIX_NULLABLE ti); /// Remove the item pointed at by `ti` from `t` @@ -67,8 +67,8 @@ zix_tree_remove(ZixTree* ZIX_NONNULL t, ZixTreeIter* ZIX_NONNULL ti); */ ZIX_API ZixStatus -zix_tree_find(const ZixTree* ZIX_NONNULL t, - const void* ZIX_NULLABLE e, +zix_tree_find(const ZixTree* ZIX_NONNULL t, + const void* ZIX_NULLABLE e, ZixTreeIter* ZIX_NULLABLE* ZIX_NONNULL ti); /// Return the data associated with the given tree item |