diff options
author | Andy Wingo <wingo@pobox.com> | 2012-01-31 22:58:24 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2012-01-31 22:58:24 +0100 |
commit | 0aed71aa51e89e714de2392c2a5f44694dca77ea (patch) | |
tree | 9c99918b70d24d7cd344fcc22c34e2b7cff1e517 /libguile/ports.c | |
parent | 3bf3d735ac743eda1f42627d165dfd86f1178126 (diff) | |
download | guile-0aed71aa51e89e714de2392c2a5f44694dca77ea.tar.gz |
Revert "add SCM_HEAP_OBJECT_BASE"
This reverts commit 47ed8656db8800f3ad20a40eb2c4e9ef3dc891e3.
Conflicts:
libguile/foreign.c
Diffstat (limited to 'libguile/ports.c')
-rw-r--r-- | libguile/ports.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libguile/ports.c b/libguile/ports.c index c0e13f374..2f9945349 100644 --- a/libguile/ports.c +++ b/libguile/ports.c @@ -541,8 +541,7 @@ register_finalizer_for_port (SCM port) /* Register a finalizer for PORT so that its iconv CDs get freed and optionally its type's `free' function gets called. */ - GC_REGISTER_FINALIZER_NO_ORDER (SCM_HEAP_OBJECT_BASE (port), - finalize_port, 0, + GC_REGISTER_FINALIZER_NO_ORDER (SCM2PTR (port), finalize_port, 0, &prev_finalizer, &prev_finalization_data); } |