diff options
Diffstat (limited to 'storage/xtradb/ut/ut0byte.c')
-rw-r--r-- | storage/xtradb/ut/ut0byte.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/storage/xtradb/ut/ut0byte.c b/storage/xtradb/ut/ut0byte.c index 5e11e37d0b6..4e093f72ce2 100644 --- a/storage/xtradb/ut/ut0byte.c +++ b/storage/xtradb/ut/ut0byte.c @@ -16,7 +16,8 @@ Place, Suite 330, Boston, MA 02111-1307 USA *****************************************************************************/ -/******************************************************************* +/***************************************************************//** +@file ut/ut0byte.c Byte utilities Created 5/11/1994 Heikki Tuuri @@ -28,21 +29,25 @@ Created 5/11/1994 Heikki Tuuri #include "ut0byte.ic" #endif -/* Zero value for a dulint */ +/** Zero value for a dulint */ UNIV_INTERN const dulint ut_dulint_zero = {0, 0}; -/* Maximum value for a dulint */ +/** Maximum value for a dulint */ UNIV_INTERN const dulint ut_dulint_max = {0xFFFFFFFFUL, 0xFFFFFFFFUL}; #ifdef notdefined /* unused code */ #include "ut0sort.h" -/**************************************************************** +/************************************************************//** 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); |