summaryrefslogtreecommitdiff
path: root/libguile/async.c
diff options
context:
space:
mode:
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2000-05-15 11:47:48 +0000
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2000-05-15 11:47:48 +0000
commitf5f2dcffbea9a33f0e1d2adbe07b20fcf7ac3322 (patch)
treee71c3be5e7b8d307a9a608fd71ff9fe9fc7e5d23 /libguile/async.c
parentae09e7ac288fd8fd467d3278bff2e9ccbefb862d (diff)
downloadguile-f5f2dcffbea9a33f0e1d2adbe07b20fcf7ac3322.tar.gz
* Wrapped deprecated code between #if (SCM_DEBUG_DEPRECATED == 0) #endif.
* Replace use of deprecated macros SCM_INPORTP, SCM_OUTPORTP, SCM_ICHRP.
Diffstat (limited to 'libguile/async.c')
-rw-r--r--libguile/async.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libguile/async.c b/libguile/async.c
index 1ec9e2ccd..d8b3a71ec 100644
--- a/libguile/async.c
+++ b/libguile/async.c
@@ -455,6 +455,9 @@ static SCM
scm_sys_gc_async_thunk (void)
{
scm_c_run_hook (scm_after_gc_hook, SCM_EOL);
+
+#if (SCM_DEBUG_DEPRECATED == 0)
+
/* The following code will be removed in Guile 1.5. */
if (SCM_NFALSEP (scm_gc_vcell))
{
@@ -463,6 +466,9 @@ scm_sys_gc_async_thunk (void)
if (SCM_NFALSEP (proc) && !SCM_UNBNDP (proc))
scm_apply (proc, SCM_EOL, SCM_EOL);
}
+
+#endif /* SCM_DEBUG_DEPRECATED == 0 */
+
return SCM_UNSPECIFIED;
}