Changed license terms to the plain LGPL thru-out.
[bpt/guile.git] / libguile / deprecated.h
1 /* This file contains definitions for deprecated features. When you
2 deprecate something, move it here when that is feasible.
3 */
4
5 #ifndef SCM_DEPRECATED_H
6 #define SCM_DEPRECATED_H
7
8 /* Copyright (C) 2003 Free Software Foundation, Inc.
9 *
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 2.1 of the License, or (at your option) any later version.
14 *
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 */
24
25 #include "libguile/__scm.h"
26 #include "libguile/strings.h"
27
28 #if (SCM_ENABLE_DEPRECATED == 1)
29
30 #define scm_substring_move_left_x scm_substring_move_x
31 #define scm_substring_move_right_x scm_substring_move_x
32
33 typedef long long long_long;
34 typedef unsigned long long ulong_long;
35
36 #define scm_sizet size_t
37
38 SCM_API SCM scm_wta (SCM arg, const char *pos, const char *s_subr);
39
40 #define SCM_WNA 8
41 #define SCM_OUTOFRANGE 10
42 #define SCM_NALLOC 11
43
44 SCM_API void scm_register_module_xxx (char *module_name, void *init_func);
45 SCM_API SCM scm_registered_modules (void);
46 SCM_API SCM scm_clear_registered_modules (void);
47
48 void scm_i_init_deprecated (void);
49
50 #endif
51
52 #endif /* SCM_DEPRECATED_H */
53
54 #if 0
55 /* TODO */
56
57 scm_eval_3
58 scm_eval2
59
60 SCM_SETAND_CAR
61 SCM_SETOR_CAR
62 SCM_SETAND_CDR
63 SCM_SETOR_CDR
64
65 SCM_FREEP
66 SCM_NFREEP
67 SCM_GC8MARKP
68 SCM_SETGC8MARK
69 SCM_CLRGC8MARK
70
71 SCM_GCTYP16
72 SCM_GCCDR
73 scm_remember
74 scm_protect_object
75 scm_unprotect_object
76
77 scm_module_full_name
78
79 scm_the_root_module
80 scm_make_module
81 scm_ensure_user_module
82
83 scm_load_scheme_module
84 scm_port
85 scm_ptob_descriptor
86 scm_port_rw_active
87
88 scm_close_all_ports_except
89 scm_rstate
90 scm_rng
91 scm_i_rstate
92
93 SCM_SLOPPY_STRINGP
94 SCM_RWSTRINGP
95 SCM_STRING_UCHARS
96 SCM_STRING_CHARS
97
98 scm_read_only_string_p
99 scm_makstr
100 scm_makfromstr
101
102 scm_make_shared_substring
103 scm_tc7_substring
104
105 SCM_SLOPPY_CONSP
106 SCM_SLOPPY_NCONSP
107 scm_tc7_ssymbol
108 scm_tc7_msymbol
109 scm_tcs_symbols
110
111 scm_variable_set_name_hint
112 scm_builtin_variable
113 SCM_VARVCELL
114 SCM_UDVARIABLEP
115 SCM_DEFVARIABLEP
116 scm_internal_with_fluids
117
118 scm_make_gsubr
119 scm_make_gsubr_with_generic
120 scm_create_hook
121 list*
122
123 SCM_LIST0
124 SCM_LIST1
125 SCM_LIST2
126 SCM_LIST3
127 SCM_LIST4
128 SCM_LIST5
129 SCM_LIST6
130 SCM_LIST7
131 SCM_LIST8
132 SCM_LIST9
133
134 scm_listify
135 scm_sloppy_memq
136 scm_sloppy_memv
137 scm_sloppy_member
138
139 scm_end_of_file_key
140 scm_read_and_eval_x
141
142 scm_mkbig
143 scm_big2inum
144 scm_adjbig
145 scm_normbig
146
147 scm_copybig
148 scm_2ulong2big
149 scm_dbl2big
150 scm_big2dbl
151 SCM_FIXNUM_BIT
152
153 scm_subr_entry
154 SCM_SUBR_DOC
155 scm_make_subr_opt
156 scm_make_subr
157
158 scm_make_subr_with_generic
159
160 scm_call_catching_errors
161 scm_make_smob_type_mfpe
162 scm_set_smob_mfpe
163
164 scm_strprint_obj
165 scm_read_0str
166 scm_eval_0str
167 SCM_CHARS
168 SCM_UCHARS
169
170 SCM_SETCHARS
171 SCM_SLOPPY_SUBSTRP
172 SCM_SUBSTR_STR
173 SCM_SUBSTR_OFFSET
174
175 SCM_LENGTH_MAX
176 SCM_LENGTH
177 SCM_SETLENGTH
178 SCM_ROSTRINGP
179 SCM_ROLENGTH
180
181 SCM_ROCHARS
182 SCM_ROUCHARS
183 SCM_SUBSTRP
184 SCM_COERCE_SUBSTR
185 scm_strhash
186
187 scm_sym2vcell
188 scm_sym2ovcell_soft
189 scm_sym2ovcell
190
191 scm_intern_obarray_soft
192 scm_intern_obarray
193 scm_intern
194 scm_intern0
195
196 scm_sysintern
197 scm_sysintern0
198 scm_sysintern0_no_module_lookup
199
200 scm_symbol_value0
201 scm_string_to_obarray_symbol
202 scm_intern_symbol
203
204 scm_unintern_symbol
205 scm_symbol_binding
206 scm_symbol_interned_p
207
208 scm_symbol_bound_p
209 scm_symbol_set_x
210 scm_gentemp
211
212 scm_init_symbols_deprecated
213 scm_vector_set_length_x
214
215 SCM_OPDIRP
216
217 scm_fport
218 scm_option
219 SCM_CONST_LONG
220 SCM_VCELL
221 SCM_GLOBAL_VCELL
222
223 SCM_VCELL_INIT
224 SCM_GLOBAL_VCELL_INIT
225 scm_srcprops
226 scm_srcprops_chunk
227
228 scm_info_frame
229 scm_stack
230 scm_array
231 scm_array_dim
232 SCM_ARRAY_CONTIGUOUS
233
234 SCM_HUGE_LENGTH
235 SCM_FUNC_NAME
236 SCM_WTA
237 RETURN_SCM_WTA
238
239 SCM_VALIDATE_NUMBER_COPY
240 SCM_VALIDATE_NUMBER_DEF_COPY
241
242 SCM_VALIDATE_STRINGORSUBSTR
243 SCM_VALIDATE_ROSTRING
244
245 SCM_VALIDATE_ROSTRING_COPY
246 SCM_VALIDATE_NULLORROSTRING_COPY
247
248 SCM_VALIDATE_RWSTRING
249 SCM_VALIDATE_OPDIR
250 scm_small_istr2int
251
252 scm_istr2int
253 scm_istr2flo
254 scm_istring2number
255 scm_istr2int
256
257 scm_istr2flo
258 scm_istring2number
259 scm_vtable_index_vcell
260
261 SCM_ECONSP
262 SCM_NECONSP
263
264 scm_tc16_variable
265
266 #endif