mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
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.
This commit is contained in:
parent
f567a43cf0
commit
65619ebe9a
4 changed files with 32 additions and 72 deletions
|
@ -2595,6 +2595,28 @@ scm_internal_dynamic_wind (scm_t_guard before,
|
|||
return ans;
|
||||
}
|
||||
|
||||
|
||||
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue