1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

Updated for SCM_NEWCELL(2) deprecation.

This commit is contained in:
Marius Vollmer 2001-11-25 19:08:28 +00:00
parent 4878beecf9
commit a9930d22be
2 changed files with 12 additions and 0 deletions

8
NEWS
View file

@ -57,6 +57,14 @@ linking to the Guile DLL in Windows.
There are also SCM_RL_IMPORT, QT_IMPORT, SCM_SRFI1314_IMPORT, and
SCM_SRFI4_IMPORT, for the corresponding libraries.
** SCM_NEWCELL and SCM_NEWCELL2 have been deprecated.
Use the new functions scm_alloc_cell and scm_alloc_double_cell
instead. The old macros had problems because with them allocation and
initialization was separated and the GC could sometimes observe half
initialized cells. Only careful coding by the user of SCM_NEWCELL and
SCM_NEWCELL2 could make this safe and efficient.
Changes since Guile 1.4:
* Changes to the distribution

4
TODO
View file

@ -99,5 +99,9 @@ that user-visible changes are reflected in NEWS.
- in boot-9.scm:
remove deprecated function `feature?´.
- gc.c and gc.h:
remove deprecated macros SCM_NEWCELL and SCM_NEWCELL2 together with
their support staffing scm_deprecated_newcell,
scm_deprecated_newcell2, scm_tc16_allocated, mark_allocated.
[TODO ends here]