mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +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
|
@ -741,8 +741,8 @@ scm_i_c_make_symbol (const char *name, size_t len,
|
|||
SCM buf = make_stringbuf (len);
|
||||
memcpy (STRINGBUF_CHARS (buf), name, len);
|
||||
|
||||
return scm_immutable_double_cell (scm_tc7_symbol | flags, SCM_UNPACK (buf),
|
||||
(scm_t_bits) hash, SCM_UNPACK (props));
|
||||
return scm_double_cell (scm_tc7_symbol | flags, SCM_UNPACK (buf),
|
||||
(scm_t_bits) hash, SCM_UNPACK (props));
|
||||
}
|
||||
|
||||
/* Returns the number of characters in SYM. This may be different
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue