52 |
|
|
53 |
* Changes to the C interface |
* Changes to the C interface |
54 |
|
|
55 |
|
** The struct scm_cell has been renamed to scm_t_cell |
56 |
|
|
57 |
|
This is in accordance to Guile's naming scheme for types. Note that |
58 |
|
the name scm_cell is now used for a function that allocates and |
59 |
|
initializes a new cell (see below). |
60 |
|
|
61 |
** New functions for memory management |
** New functions for memory management |
62 |
|
|
63 |
A new set of functions for memory management has been added since the |
A new set of functions for memory management has been added since the |
100 |
|
|
101 |
** SCM_NEWCELL and SCM_NEWCELL2 have been deprecated. |
** SCM_NEWCELL and SCM_NEWCELL2 have been deprecated. |
102 |
|
|
103 |
Use the new functions scm_alloc_cell and scm_alloc_double_cell |
Use the new functions scm_cell and scm_double_cell instead. The old macros |
104 |
instead. The old macros had problems because with them allocation and |
had problems because with them allocation and initialization was separated and |
105 |
initialization was separated and the GC could sometimes observe half |
the GC could sometimes observe half initialized cells. Only careful coding by |
106 |
initialized cells. Only careful coding by the user of SCM_NEWCELL and |
the user of SCM_NEWCELL and SCM_NEWCELL2 could make this safe and efficient. |
|
SCM_NEWCELL2 could make this safe and efficient. |
|
107 |
|
|
108 |
Changes since Guile 1.4: |
Changes since Guile 1.4: |
109 |
|
|