Changed license terms to the plain LGPL thru-out.
[bpt/guile.git] / libguile / sort.h
1 /* classes: h_files */
2
3 #ifndef SCM_SORT_H
4 #define SCM_SORT_H
5
6 /* Copyright (C) 1999,2000 Free Software Foundation, Inc.
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 */
22
23 \f
24
25 #include "libguile/__scm.h"
26
27 \f
28
29 SCM_API SCM scm_restricted_vector_sort_x (SCM vec,
30 SCM less,
31 SCM startpos,
32 SCM endpos);
33 SCM_API SCM scm_sorted_p (SCM ls, SCM less);
34 SCM_API SCM scm_merge (SCM ls1, SCM ls2, SCM less);
35 SCM_API SCM scm_merge_x (SCM ls1, SCM ls2, SCM less);
36 SCM_API SCM scm_sort (SCM ls, SCM less);
37 SCM_API SCM scm_sort_x (SCM ls, SCM less);
38 SCM_API SCM scm_stable_sort (SCM ls, SCM less);
39 SCM_API SCM scm_stable_sort_x (SCM ls, SCM less);
40 SCM_API SCM scm_sort_list (SCM ls, SCM less);
41 SCM_API SCM scm_sort_list_x (SCM ls, SCM less);
42 SCM_API void scm_init_sort (void);
43
44 #endif /* SCM_SORT_H */
45
46 /*
47 Local Variables:
48 c-file-style: "gnu"
49 End:
50 */