4
/* SRFI-13 procedures for Guile
6
* Copyright (C) 2001, 2004, 2006 Free Software Foundation, Inc.
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.
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.
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24
/* All SRFI-13 procedures are in in the core now. */
28
/* SCM_SRFI1314_API is a macro prepended to all function and data definitions
29
which should be exported or imported in the resulting dynamic link
30
library in the Win32 port. */
32
#if defined (SCM_SRFI1314_IMPORT)
33
# define SCM_SRFI1314_API __declspec (dllimport) extern
34
#elif defined (SCM_SRFI1314_EXPORT) || defined (DLL_EXPORT)
35
# define SCM_SRFI1314_API __declspec (dllexport) extern
37
# define SCM_SRFI1314_API extern
40
SCM_SRFI1314_API void scm_init_srfi_13 (void);
41
SCM_SRFI1314_API void scm_init_srfi_13_14 (void);
43
/* The following functions have new names in the core.
46
#define scm_string_to_listS scm_substring_to_list
47
#define scm_string_copyS scm_substring_copy
48
#define scm_substring_sharedS scm_substring_shared
49
#define scm_string_fill_xS scm_substring_fill_x
50
#define scm_string_indexS scm_string_index
51
#define scm_string_upcase_xS scm_substring_upcase_x
52
#define scm_string_upcaseS scm_substring_upcase
53
#define scm_string_downcase_xS scm_substring_downcase_x
54
#define scm_string_downcaseS scm_substring_downcase
56
#endif /* SCM_SRFI_13_H */