Commit | Line | Data |
---|---|---|
ee6aac97 MD |
1 | #ifndef SCM_SRFI_1_H |
2 | #define SCM_SRFI_1_H | |
3 | /* srfi-1.h --- SRFI-1 procedures for Guile | |
4 | * | |
5 | * Copyright (C) 2002 Free Software Foundation, Inc. | |
6 | * | |
73be1d9e MV |
7 | * This library is free software; you can redistribute it and/or |
8 | * modify it under the terms of the GNU Lesser General Public | |
9 | * License as published by the Free Software Foundation; either | |
10 | * version 2.1 of the License, or (at your option) any later version. | |
ee6aac97 | 11 | * |
73be1d9e MV |
12 | * This library is distributed in the hope that it will be useful, |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
ee6aac97 | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
73be1d9e | 15 | * Lesser General Public License for more details. |
ee6aac97 | 16 | * |
73be1d9e MV |
17 | * You should have received a copy of the GNU Lesser General Public |
18 | * License along with this library; if not, write to the Free Software | |
19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
20 | */ | |
ee6aac97 MD |
21 | \f |
22 | ||
23 | /* SCM_SRFI1_API is a macro prepended to all function and data definitions | |
24 | which should be exported or imported in the resulting dynamic link | |
25 | library in the Win32 port. */ | |
26 | ||
27 | #if defined (SCM_SRFI1_IMPORT) | |
28 | # define SCM_SRFI1_API __declspec (dllimport) extern | |
29 | #elif defined (SCM_SRFI1_EXPORT) || defined (DLL_EXPORT) | |
30 | # define SCM_SRFI1_API __declspec (dllexport) extern | |
31 | #else | |
32 | # define SCM_SRFI1_API extern | |
33 | #endif | |
34 | ||
7692d26b MD |
35 | SCM_SRFI1_API SCM scm_srfi1_map (SCM proc, SCM arg1, SCM args); |
36 | SCM_SRFI1_API SCM scm_srfi1_for_each (SCM proc, SCM arg1, SCM args); | |
ee6aac97 | 37 | SCM_SRFI1_API SCM scm_srfi1_member (SCM obj, SCM ls, SCM pred); |
7692d26b | 38 | SCM_SRFI1_API SCM scm_srfi1_assoc (SCM key, SCM alist, SCM pred); |
ee6aac97 MD |
39 | |
40 | SCM_SRFI1_API void scm_init_srfi_1 (void); | |
41 | ||
42 | #endif /* SCM_SRFI_1_H */ |