Commit | Line | Data |
---|---|---|
7e516288 MV |
1 | /* classes: h_files */ |
2 | ||
5cd06d5e DH |
3 | #ifndef SCM_DEPRECATION_H |
4 | #define SCM_DEPRECATION_H | |
8c494e99 | 5 | |
5cd06d5e | 6 | /* Copyright (C) 2001 Free Software Foundation, Inc. |
8c494e99 | 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. | |
8c494e99 | 12 | * |
73be1d9e | 13 | * This library is distributed in the hope that it will be useful, |
7e516288 | 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
73be1d9e MV |
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
16 | * Lesser General Public License for more details. | |
8c494e99 | 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 | |
20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
21 | */ | |
8c494e99 | 22 | |
7e516288 | 23 | \f |
8c494e99 | 24 | |
7e516288 MV |
25 | #include "libguile/__scm.h" |
26 | ||
27 | \f | |
28 | ||
8c494e99 | 29 | #if (SCM_ENABLE_DEPRECATED == 1) |
7e516288 | 30 | |
4bbe9eb7 MV |
31 | /* These functions are _not_ deprecated, but we exclude them along |
32 | with the really deprecated features to be sure that no-one is | |
33 | trying to emit deprecation warnings when libguile is supposed to be | |
34 | clean of them. | |
35 | */ | |
36 | ||
33b001fd | 37 | SCM_API void scm_c_issue_deprecation_warning (const char *msg); |
d013f095 | 38 | SCM_API void scm_c_issue_deprecation_warning_fmt (const char *msg, ...); |
33b001fd | 39 | SCM_API SCM scm_issue_deprecation_warning (SCM msgs); |
7e516288 MV |
40 | |
41 | #endif | |
42 | ||
33b001fd MV |
43 | SCM_API SCM scm_include_deprecated_features (void); |
44 | SCM_API void scm_init_deprecation (void); | |
7e516288 | 45 | |
5cd06d5e | 46 | #endif /* SCM_DEPRECATION_H */ |
7e516288 MV |
47 | |
48 | /* | |
49 | Local Variables: | |
50 | c-file-style: "gnu" | |
51 | End: | |
52 | */ |