mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
branches/zip: ut_dulint_sort(): Write proper comments.
This commit is contained in:
parent
c7ae9cc921
commit
d8b91c90a2
2 changed files with 12 additions and 4 deletions
|
@ -204,8 +204,12 @@ Tests if two dulints are equal. */
|
|||
Sort function for dulint arrays. */
|
||||
UNIV_INTERN
|
||||
void
|
||||
ut_dulint_sort(dulint* arr, dulint* aux_arr, ulint low, ulint high);
|
||||
/*===============================================================*/
|
||||
ut_dulint_sort(
|
||||
/*===========*/
|
||||
dulint* arr, /* in/out: array to be sorted */
|
||||
dulint* aux_arr,/* in/out: auxiliary array (same size as arr) */
|
||||
ulint low, /* in: low bound of sort interval, inclusive */
|
||||
ulint high); /* in: high bound of sort interval, noninclusive */
|
||||
#endif /* notdefined */
|
||||
|
||||
/*************************************************************
|
||||
|
|
|
@ -41,8 +41,12 @@ UNIV_INTERN const dulint ut_dulint_max = {0xFFFFFFFFUL, 0xFFFFFFFFUL};
|
|||
Sort function for dulint arrays. */
|
||||
UNIV_INTERN
|
||||
void
|
||||
ut_dulint_sort(dulint* arr, dulint* aux_arr, ulint low, ulint high)
|
||||
/*===============================================================*/
|
||||
ut_dulint_sort(
|
||||
/*===========*/
|
||||
dulint* arr, /* in/out: array to be sorted */
|
||||
dulint* aux_arr,/* in/out: auxiliary array (same size as arr) */
|
||||
ulint low, /* in: low bound of sort interval, inclusive */
|
||||
ulint high) /* in: high bound of sort interval, noninclusive */
|
||||
{
|
||||
UT_SORT_FUNCTION_BODY(ut_dulint_sort, arr, aux_arr, low, high,
|
||||
ut_dulint_cmp);
|
||||
|
|
Loading…
Add table
Reference in a new issue