Sync to the latest version.

Can be broken or partially implemented.
This commit is contained in:
2024-04-23 23:45:43 +03:00
parent ec499b6cfc
commit 692b5b4297
26 changed files with 785 additions and 60 deletions

View File

@@ -23,10 +23,10 @@ void bh_swap(void *lhs,
* @param element Element size
* @param equal Equal/compare function
*
* @return Pointer to the first element that are greater-or-equal to pivot
* element.
* @return The return value is the pointer to the first element of the second
* partition.
*
* @warning Pivot element can be an element of the partitioned array itself.
* @warning Pivot element can be a part of the partitioned array.
*/
void *bh_partition(void *pivot,
void *array,