summaryrefslogtreecommitdiffstats
path: root/src/sorted_array.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-09-18 18:53:59 +0000
committerDavid Robillard <d@drobilla.net>2011-09-18 18:53:59 +0000
commit6651d4dbf74dc4591fbaf5250bfd6f7d58ce0363 (patch)
tree04d1a6666c5d79aa9b2129392397b884a98049e4 /src/sorted_array.c
parent4d2da91a500ce75f61fdf1f5d03abde795fb7770 (diff)
downloadzix-6651d4dbf74dc4591fbaf5250bfd6f7d58ce0363.tar.gz
zix-6651d4dbf74dc4591fbaf5250bfd6f7d58ce0363.tar.bz2
zix-6651d4dbf74dc4591fbaf5250bfd6f7d58ce0363.zip
Tidy.
git-svn-id: http://svn.drobilla.net/zix/trunk@14 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
Diffstat (limited to 'src/sorted_array.c')
-rw-r--r--src/sorted_array.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/sorted_array.c b/src/sorted_array.c
index e41797d..e841380 100644
--- a/src/sorted_array.c
+++ b/src/sorted_array.c
@@ -81,7 +81,9 @@ zix_sorted_array_size(ZixSortedArray* a)
ZIX_API
ZixStatus
-zix_sorted_array_insert(ZixSortedArray* a, const void* e, ZixSortedArrayIter* ai)
+zix_sorted_array_insert(ZixSortedArray* a,
+ const void* e,
+ ZixSortedArrayIter* ai)
{
if (a->num_elems == 0) {
assert(!a->array);
@@ -140,7 +142,9 @@ zix_sorted_array_index(const ZixSortedArray* a, size_t index)
ZIX_API
ZixStatus
-zix_sorted_array_find(const ZixSortedArray* a, const void* e, ZixSortedArrayIter* ai)
+zix_sorted_array_find(const ZixSortedArray* a,
+ const void* e,
+ ZixSortedArrayIter* ai)
{
if (a->num_elems == 0) {
*ai = NULL;