mariadb/ut/ut0byte.c

35 lines
902 B
C
Raw Normal View History

2005-10-27 07:29:40 +00:00
/*******************************************************************
Byte utilities
(c) 1994, 1995 Innobase Oy
Created 5/11/1994 Heikki Tuuri
********************************************************************/
#include "ut0byte.h"
#ifdef UNIV_NONINL
#include "ut0byte.ic"
#endif
/* Zero value for a dulint */
UNIV_INTERN const dulint ut_dulint_zero = {0, 0};
2005-10-27 07:29:40 +00:00
/* Maximum value for a dulint */
UNIV_INTERN const dulint ut_dulint_max = {0xFFFFFFFFUL, 0xFFFFFFFFUL};
2005-10-27 07:29:40 +00:00
#ifdef notdefined /* unused code */
#include "ut0sort.h"
2005-10-27 07:29:40 +00:00
/****************************************************************
Sort function for dulint arrays. */
UNIV_INTERN
2005-10-27 07:29:40 +00:00
void
ut_dulint_sort(dulint* arr, dulint* aux_arr, ulint low, ulint high)
/*===============================================================*/
{
UT_SORT_FUNCTION_BODY(ut_dulint_sort, arr, aux_arr, low, high,
ut_dulint_cmp);
2005-10-27 07:29:40 +00:00
}
#endif /* notdefined */