00001 /* 00002 * This file is part of the Generic Data Structures Library (GDSL). 00003 * Copyright (C) 1998-2006 Nicolas Darnis <ndarnis@free.fr>. 00004 * 00005 * The GDSL library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU General Public License as 00007 * published by the Free Software Foundation; either version 2 of 00008 * the License, or (at your option) any later version. 00009 * 00010 * The GDSL library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with the GDSL library; see the file COPYING. 00017 * If not, write to the Free Software Foundation, Inc., 00018 * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 00019 * 00020 * $RCSfile: gdsl__sort_8h-source.html,v $ 00021 * $Revision: 1.10 $ 00022 * $Date: 2006/06/22 09:16:01 $ 00023 */ 00024 00025 00026 #ifndef _GDSL_SORT_H_ 00027 #define _GDSL_SORT_H_ 00028 00029 00030 #if defined (__cplusplus) 00031 extern "C" 00032 { 00033 #endif /* __cplusplus */ 00034 00035 00055 extern void 00056 gdsl_sort (gdsl_element_t* T, 00057 ulong N, 00058 const gdsl_compare_func_t COMP_F 00059 ); 00060 00061 /* 00062 * @} 00063 */ 00064 00065 00066 #ifdef __cplusplus 00067 } 00068 #endif/* __cplusplus */ 00069 00070 00071 #endif /* _GDSL_SORT_H_ */ 00072 00073