diff options
author | Marius Vollmer <mvo@zagadka.de> | 2001-11-25 15:21:07 +0000 |
---|---|---|
committer | Marius Vollmer <mvo@zagadka.de> | 2001-11-25 15:21:07 +0000 |
commit | 16d4699b6ba33685f1318636ffe4990c7db4fdc6 (patch) | |
tree | d0ef01a70571d77fb07e062e2f29344e33c29952 /libguile/variable.c | |
parent | d3c0e81cc847b39537a2b2945d80de18bf8d5e89 (diff) | |
download | guile-16d4699b6ba33685f1318636ffe4990c7db4fdc6.tar.gz |
Replaced SCM_NEWCELL and SCM_NEWCELL2 with scm_alloc_cell and
scm_alloc_double_cell, respectively.
Diffstat (limited to 'libguile/variable.c')
-rw-r--r-- | libguile/variable.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libguile/variable.c b/libguile/variable.c index b0e9b61d9..66f82b9de 100644 --- a/libguile/variable.c +++ b/libguile/variable.c @@ -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, |