gdsl  1.8
gdsl_sort.h
Go to the documentation of this file.
00001 /*
00002  * This file is part of the Generic Data Structures Library (GDSL).
00003  * Copyright (C) 1998-2015 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.h,v $
00021  * $Revision: 1.8 $
00022  * $Date: 2015/02/17 12:22:57 $
00023  */
00024 
00029 #ifndef _GDSL_SORT_H_
00030 #define _GDSL_SORT_H_
00031 
00032 
00033 #if defined (__cplusplus)
00034 extern "C" 
00035 {
00036 #endif /* __cplusplus */
00037 
00038 
00058 extern void
00059 gdsl_sort (gdsl_element_t* T,
00060        ulong N,
00061        const gdsl_compare_func_t COMP_F
00062        );
00063 
00064 /*
00065  * @}
00066  */
00067 
00068 
00069 #ifdef __cplusplus
00070 }
00071 #endif/* __cplusplus */
00072 
00073 
00074 #endif /* _GDSL_SORT_H_ */
00075 
00076