1
/*****************************************************************************
3
Copyright (c) 1994, 2009, Innobase Oy. All Rights Reserved.
5
This program is free software; you can redistribute it and/or modify it under
6
the terms of the GNU General Public License as published by the Free Software
7
Foundation; version 2 of the License.
9
This program is distributed in the hope that it will be useful, but WITHOUT
10
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
You should have received a copy of the GNU General Public License along with
14
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
15
Place, Suite 330, Boston, MA 02111-1307 USA
17
*****************************************************************************/
19
/***************************************************************//**
23
Created 5/11/1994 Heikki Tuuri
24
********************************************************************/
32
/** Zero value for a dulint */
33
UNIV_INTERN const dulint ut_dulint_zero = {0, 0};
35
/** Maximum value for a dulint */
36
UNIV_INTERN const dulint ut_dulint_max = {0xFFFFFFFFUL, 0xFFFFFFFFUL};
38
#ifdef notdefined /* unused code */
41
/************************************************************//**
42
Sort function for dulint arrays. */
47
dulint* arr, /*!< in/out: array to be sorted */
48
dulint* aux_arr,/*!< in/out: auxiliary array (same size as arr) */
49
ulint low, /*!< in: low bound of sort interval, inclusive */
50
ulint high) /*!< in: high bound of sort interval, noninclusive */
52
UT_SORT_FUNCTION_BODY(ut_dulint_sort, arr, aux_arr, low, high,
55
#endif /* notdefined */