mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-13 15:10:34 +02:00
Updated for SCM_NEWCELL(2) deprecation.
This commit is contained in:
parent
4878beecf9
commit
a9930d22be
2 changed files with 12 additions and 0 deletions
8
NEWS
8
NEWS
|
@ -57,6 +57,14 @@ linking to the Guile DLL in Windows.
|
||||||
There are also SCM_RL_IMPORT, QT_IMPORT, SCM_SRFI1314_IMPORT, and
|
There are also SCM_RL_IMPORT, QT_IMPORT, SCM_SRFI1314_IMPORT, and
|
||||||
SCM_SRFI4_IMPORT, for the corresponding libraries.
|
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 since Guile 1.4:
|
||||||
|
|
||||||
* Changes to the distribution
|
* Changes to the distribution
|
||||||
|
|
4
TODO
4
TODO
|
@ -99,5 +99,9 @@ that user-visible changes are reflected in NEWS.
|
||||||
- in boot-9.scm:
|
- in boot-9.scm:
|
||||||
remove deprecated function `feature?´.
|
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]
|
[TODO ends here]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue