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-2017 Nicolas Darnis <ndarnis@free.fr>.
00004  *
00005  * GDSL is free software: you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License as published by
00007  * the Free Software Foundation, either version 3 of the License, or
00008  * (at your option) any later version.
00009  *
00010  * GDSL 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 GDSL.  If not, see <http://www.gnu.org/licenses/>. 
00017  *
00018  * $RCSfile: gdsl_sort.h,v $
00019  * $Revision: 1.8 $
00020  * $Date: 2015/02/17 12:22:57 $
00021  */
00022 
00027 #ifndef _GDSL_SORT_H_
00028 #define _GDSL_SORT_H_
00029 
00030 
00031 #if defined (__cplusplus)
00032 extern "C" 
00033 {
00034 #endif /* __cplusplus */
00035 
00036 
00056 extern void
00057 gdsl_sort (gdsl_element_t* T,
00058        ulong N,
00059        const gdsl_compare_func_t COMP_F
00060        );
00061 
00062 /*
00063  * @}
00064  */
00065 
00066 
00067 #ifdef __cplusplus
00068 }
00069 #endif/* __cplusplus */
00070 
00071 
00072 #endif /* _GDSL_SORT_H_ */
00073 
00074