remove empty srfi-4, srfi-13, and srfi-14 shlibs
[bpt/guile.git] / srfi / srfi-60.h
CommitLineData
68513144
KR
1/* srfi-60.h --- SRFI-60 procedures for Guile
2 *
1b09b607 3 * Copyright (C) 2005, 2006 Free Software Foundation, Inc.
68513144
KR
4 *
5 * This library is free software; you can redistribute it and/or
53befeb7
NJ
6 * modify it under the terms of the GNU Lesser General Public License
7 * as published by the Free Software Foundation; either version 3 of
8 * the License, or (at your option) any later version.
68513144 9 *
53befeb7
NJ
10 * This library is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
68513144
KR
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
53befeb7
NJ
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 * 02110-1301 USA
68513144
KR
19 */
20\f
21
22#ifndef SCM_SRFI_60_H
23#define SCM_SRFI_60_H
24
25/* SCM_SRFI60_API is a macro prepended to all function and data definitions
26 which should be exported or imported in the resulting dynamic link
27 library in the Win32 port. */
28
29#if defined (SCM_SRFI60_IMPORT)
30# define SCM_SRFI60_API __declspec (dllimport) extern
31#elif defined (SCM_SRFI60_EXPORT) || defined (DLL_EXPORT)
32# define SCM_SRFI60_API __declspec (dllexport) extern
33#else
34# define SCM_SRFI60_API extern
35#endif
36
37SCM_SRFI60_API SCM scm_srfi60_log2_binary_factors (SCM n);
38SCM_SRFI60_API SCM scm_srfi60_copy_bit (SCM index, SCM n, SCM bit);
39SCM_SRFI60_API SCM scm_srfi60_rotate_bit_field (SCM n, SCM count, SCM start, SCM end);
40SCM_SRFI60_API SCM scm_srfi60_reverse_bit_field (SCM n, SCM start, SCM end);
41SCM_SRFI60_API SCM scm_srfi60_integer_to_list (SCM n, SCM len);
42SCM_SRFI60_API SCM scm_srfi60_list_to_integer (SCM lst);
43
44SCM_SRFI60_API void scm_init_srfi_60 (void);
45
46#endif /* SCM_SRFI_60_H */