diff options
author | Andy Wingo <wingo@pobox.com> | 2011-05-26 12:34:30 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-05-26 12:34:30 +0200 |
commit | 65619ebe9a9af71f6dd17736f5556e53db485f1c (patch) | |
tree | 7a2e1a428ceb457ee06a63dbf7e2bb1eeac97001 /libguile/deprecated.c | |
parent | f567a43cf0336151fac1a51c6553431420f21397 (diff) | |
download | guile-65619ebe9a9af71f6dd17736f5556e53db485f1c.tar.gz |
deprecate scm_immutable_{double_,}cell
* libguile/inline.h:
* libguile/deprecated.h:
* libguile/deprecated.c (scm_immutable_cell, scm_immutable_double_cell):
Deprecate these, as the GC_STUBBORN API doesn't do anything any more.
* libguile/strings.c (scm_i_c_make_symbol): Change the one use of
scm_immutable_double_cell to scm_double_cell.
Diffstat (limited to 'libguile/deprecated.c')
-rw-r--r-- | libguile/deprecated.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libguile/deprecated.c b/libguile/deprecated.c index c7e2aae2d..2026788c6 100644 --- a/libguile/deprecated.c +++ b/libguile/deprecated.c @@ -2597,6 +2597,28 @@ scm_internal_dynamic_wind (scm_t_guard before, +SCM +scm_immutable_cell (scm_t_bits car, scm_t_bits cdr) +{ + scm_c_issue_deprecation_warning + ("scm_immutable_cell is deprecated. Use scm_cell instead."); + + return scm_cell (car, cdr); +} + +SCM +scm_immutable_double_cell (scm_t_bits car, scm_t_bits cbr, + scm_t_bits ccr, scm_t_bits cdr) +{ + scm_c_issue_deprecation_warning + ("scm_immutable_double_cell is deprecated. Use scm_double_cell instead."); + + return scm_double_cell (car, cbr, ccr, cdr); +} + + + + void scm_i_init_deprecated () { |