File indexing completed on 2024-05-12 03:47:54

0001 /*
0002     File                 : nsl_sort.h
0003     Project              : LabPlot
0004     Description          : NSL sorting functions
0005     --------------------------------------------------------------------
0006     SPDX-FileCopyrightText: 2016 Stefan Gerlach <stefan.gerlach@uni.kn>
0007     SPDX-License-Identifier: GPL-2.0-or-later
0008 */
0009 
0010 #ifndef NSL_SORT_H
0011 #define NSL_SORT_H
0012 
0013 #include <stdlib.h>
0014 
0015 /* compare size_t objects */
0016 int nsl_sort_compare_size_t(const void* a, const void* b);
0017 
0018 /* sort size_t array of size n */
0019 void nsl_sort_size_t(size_t array[], const size_t n);
0020 
0021 #endif /* NSL_SORT_H */