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

Replaced SCM_NEWCELL and SCM_NEWCELL2 with scm_alloc_cell and

scm_alloc_double_cell, respectively.
This commit is contained in:
Marius Vollmer 2001-11-25 15:21:07 +00:00
parent d3c0e81cc8
commit 16d4699b6b
28 changed files with 83 additions and 204 deletions

View file

@ -68,12 +68,7 @@ scm_i_variable_print (SCM exp, SCM port, scm_print_state *pstate)
static SCM
make_variable (SCM init)
{
SCM z;
SCM_NEWCELL (z);
SCM_SET_CELL_WORD_1 (z, SCM_UNPACK (init));
SCM_SET_CELL_TYPE (z, scm_tc7_variable);
scm_remember_upto_here_1 (init);
return z;
return scm_alloc_cell (scm_tc7_variable, SCM_UNPACK (init));
}
SCM_DEFINE (scm_make_variable, "make-variable", 1, 0, 0,