mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 09:10:22 +02:00
(scm_make_memoized): Restore use of SCM_UNPACK.
This commit is contained in:
parent
c29748cdfe
commit
d193b04b7b
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2005-03-24 Neil Jerram <neil@ossau.uklinux.net>
|
||||||
|
|
||||||
|
* debug.c (scm_make_memoized): Restore use of SCM_UNPACK.
|
||||||
|
|
||||||
2005-03-23 Neil Jerram <neil@ossau.uklinux.net>
|
2005-03-23 Neil Jerram <neil@ossau.uklinux.net>
|
||||||
|
|
||||||
* debug.c (scm_make_memoized): Remove unnecessary critical
|
* debug.c (scm_make_memoized): Remove unnecessary critical
|
||||||
|
|
|
@ -147,7 +147,7 @@ SCM
|
||||||
scm_make_memoized (SCM exp, SCM env)
|
scm_make_memoized (SCM exp, SCM env)
|
||||||
{
|
{
|
||||||
/* *fixme* Check that env is a valid environment. */
|
/* *fixme* Check that env is a valid environment. */
|
||||||
SCM_RETURN_NEWSMOB (scm_tc16_memoized, scm_cons (exp, env));
|
SCM_RETURN_NEWSMOB (scm_tc16_memoized, SCM_UNPACK (scm_cons (exp, env)));
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef GUILE_DEBUG
|
#ifdef GUILE_DEBUG
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue