Commit d8b91c90 authored by marko's avatar marko

branches/zip: ut_dulint_sort(): Write proper comments.

parent c7ae9cc9
...@@ -204,8 +204,12 @@ Tests if two dulints are equal. */ ...@@ -204,8 +204,12 @@ Tests if two dulints are equal. */
Sort function for dulint arrays. */ Sort function for dulint arrays. */
UNIV_INTERN UNIV_INTERN
void 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 */ #endif /* notdefined */
/************************************************************* /*************************************************************
......
...@@ -41,8 +41,12 @@ UNIV_INTERN const dulint ut_dulint_max = {0xFFFFFFFFUL, 0xFFFFFFFFUL}; ...@@ -41,8 +41,12 @@ UNIV_INTERN const dulint ut_dulint_max = {0xFFFFFFFFUL, 0xFFFFFFFFUL};
Sort function for dulint arrays. */ Sort function for dulint arrays. */
UNIV_INTERN UNIV_INTERN
void 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_SORT_FUNCTION_BODY(ut_dulint_sort, arr, aux_arr, low, high,
ut_dulint_cmp); ut_dulint_cmp);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment