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 License
10 * as published by the Free Software Foundation; either version 3 of
11 * the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful, but
14 * 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
25 /* All SRFI-13 procedures are in in the core now. */
29 /* SCM_SRFI1314_API is a macro prepended to all function and data definitions
30 which should be exported or imported in the resulting dynamic link
31 library in the Win32 port. */
33 #if defined (SCM_SRFI1314_IMPORT)
34 # define SCM_SRFI1314_API __declspec (dllimport) extern
35 #elif defined (SCM_SRFI1314_EXPORT) || defined (DLL_EXPORT)
36 # define SCM_SRFI1314_API __declspec (dllexport) extern
38 # define SCM_SRFI1314_API extern
41 SCM_SRFI1314_API
void scm_init_srfi_13 (void);
42 SCM_SRFI1314_API
void scm_init_srfi_13_14 (void);
44 /* The following functions have new names in the core.
47 #define scm_string_to_listS scm_substring_to_list
48 #define scm_string_copyS scm_substring_copy
49 #define scm_substring_sharedS scm_substring_shared
50 #define scm_string_fill_xS scm_substring_fill_x
51 #define scm_string_indexS scm_string_index
52 #define scm_string_upcase_xS scm_substring_upcase_x
53 #define scm_string_upcaseS scm_substring_upcase
54 #define scm_string_downcase_xS scm_substring_downcase_x
55 #define scm_string_downcaseS scm_substring_downcase
57 #endif /* SCM_SRFI_13_H */