Add `SCM_INTERNAL' macro, use it.
[bpt/guile.git] / libguile / sort.h
CommitLineData
54e09076
MD
1/* classes: h_files */
2
0527e687
DH
3#ifndef SCM_SORT_H
4#define SCM_SORT_H
5
102dbb6f 6/* Copyright (C) 1999,2000, 2006, 2008 Free Software Foundation, Inc.
0527e687 7 *
73be1d9e
MV
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.
0527e687 12 *
73be1d9e 13 * This library is distributed in the hope that it will be useful,
54e09076 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
73be1d9e
MV
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
0527e687 17 *
73be1d9e
MV
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
92205699 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
73be1d9e 21 */
0527e687 22
54e09076
MD
23\f
24
25#include "libguile/__scm.h"
26
27\f
28
33b001fd
MV
29SCM_API SCM scm_restricted_vector_sort_x (SCM vec,
30 SCM less,
31 SCM startpos,
32 SCM endpos);
33SCM_API SCM scm_sorted_p (SCM ls, SCM less);
34SCM_API SCM scm_merge (SCM ls1, SCM ls2, SCM less);
35SCM_API SCM scm_merge_x (SCM ls1, SCM ls2, SCM less);
36SCM_API SCM scm_sort (SCM ls, SCM less);
37SCM_API SCM scm_sort_x (SCM ls, SCM less);
38SCM_API SCM scm_stable_sort (SCM ls, SCM less);
39SCM_API SCM scm_stable_sort_x (SCM ls, SCM less);
40SCM_API SCM scm_sort_list (SCM ls, SCM less);
41SCM_API SCM scm_sort_list_x (SCM ls, SCM less);
102dbb6f 42SCM_INTERNAL void scm_init_sort (void);
54e09076 43
0527e687 44#endif /* SCM_SORT_H */
89e00824
ML
45
46/*
47 Local Variables:
48 c-file-style: "gnu"
49 End:
50*/