Add `uniform-vector-read!' benchmark.
[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
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
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
92205699 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
68513144
KR
18 */
19\f
20
21#ifndef SCM_SRFI_60_H
22#define SCM_SRFI_60_H
23
24/* SCM_SRFI60_API is a macro prepended to all function and data definitions
25 which should be exported or imported in the resulting dynamic link
26 library in the Win32 port. */
27
28#if defined (SCM_SRFI60_IMPORT)
29# define SCM_SRFI60_API __declspec (dllimport) extern
30#elif defined (SCM_SRFI60_EXPORT) || defined (DLL_EXPORT)
31# define SCM_SRFI60_API __declspec (dllexport) extern
32#else
33# define SCM_SRFI60_API extern
34#endif
35
36SCM_SRFI60_API SCM scm_srfi60_log2_binary_factors (SCM n);
37SCM_SRFI60_API SCM scm_srfi60_copy_bit (SCM index, SCM n, SCM bit);
38SCM_SRFI60_API SCM scm_srfi60_rotate_bit_field (SCM n, SCM count, SCM start, SCM end);
39SCM_SRFI60_API SCM scm_srfi60_reverse_bit_field (SCM n, SCM start, SCM end);
40SCM_SRFI60_API SCM scm_srfi60_integer_to_list (SCM n, SCM len);
41SCM_SRFI60_API SCM scm_srfi60_list_to_integer (SCM lst);
42
43SCM_SRFI60_API void scm_init_srfi_60 (void);
44
45#endif /* SCM_SRFI_60_H */