merge from 1.8 branch
[bpt/guile.git] / srfi / srfi-13.h
CommitLineData
653c7291
MG
1#ifndef SCM_SRFI_13_H
2#define SCM_SRFI_13_H
0081b349
MV
3
4/* SRFI-13 procedures for Guile
653c7291 5 *
1b09b607 6 * Copyright (C) 2001, 2004, 2006 Free Software Foundation, Inc.
8c67d05c 7 *
73be1d9e
MV
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.
8c67d05c 12 *
73be1d9e
MV
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
653c7291 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
73be1d9e 16 * Lesser General Public License for more details.
8c67d05c 17 *
73be1d9e
MV
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
92205699 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
73be1d9e 21 */
653c7291
MG
22\f
23
0081b349
MV
24/* All SRFI-13 procedures are in in the core now. */
25
26#include <libguile.h>
27
88a93471
MV
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. */
653c7291 31
8f99e3f3 32#if defined (SCM_SRFI1314_IMPORT)
88a93471 33# define SCM_SRFI1314_API __declspec (dllimport) extern
8f99e3f3 34#elif defined (SCM_SRFI1314_EXPORT) || defined (DLL_EXPORT)
88a93471
MV
35# define SCM_SRFI1314_API __declspec (dllexport) extern
36#else
37# define SCM_SRFI1314_API extern
38#endif
39
40SCM_SRFI1314_API void scm_init_srfi_13 (void);
41SCM_SRFI1314_API void scm_init_srfi_13_14 (void);
42
0081b349
MV
43/* The following functions have new names in the core.
44 */
45
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
653c7291 55
653c7291 56#endif /* SCM_SRFI_13_H */