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/num2float.i.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/num2float.i.c')
-rw-r--r-- | libguile/num2float.i.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libguile/num2float.i.c b/libguile/num2float.i.c index 22efffb1d..a3e669266 100644 --- a/libguile/num2float.i.c +++ b/libguile/num2float.i.c @@ -32,8 +32,7 @@ SCM FLOAT2NUM (FTYPE n) { SCM z; - SCM_NEWCELL2 (z); - SCM_SET_CELL_TYPE (z, scm_tc16_real); + z = scm_alloc_double_cell (scm_tc16_real, 0, 0, 0); SCM_REAL_VALUE (z) = n; return z; } |