diff options
Diffstat (limited to 'ot_vector.c')
-rw-r--r-- | ot_vector.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ot_vector.c b/ot_vector.c index a69d9a5..cbb3fac 100644 --- a/ot_vector.c +++ b/ot_vector.c | |||
@@ -23,8 +23,6 @@ static int vector_compare_peer(const void *peer1, const void *peer2 ) { | |||
23 | /* This function gives us a binary search that returns a pointer, even if | 23 | /* This function gives us a binary search that returns a pointer, even if |
24 | no exact match is found. In that case it sets exactmatch 0 and gives | 24 | no exact match is found. In that case it sets exactmatch 0 and gives |
25 | calling functions the chance to insert data | 25 | calling functions the chance to insert data |
26 | |||
27 | NOTE: Minimal compare_size is 4, member_size must be a multiple of 4 | ||
28 | */ | 26 | */ |
29 | void *binary_search( const void * const key, const void * base, const size_t member_count, const size_t member_size, | 27 | void *binary_search( const void * const key, const void * base, const size_t member_count, const size_t member_size, |
30 | size_t compare_size, int *exactmatch ) { | 28 | size_t compare_size, int *exactmatch ) { |