summaryrefslogtreecommitdiff
path: root/libguile/smob.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/smob.c')
-rw-r--r--libguile/smob.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libguile/smob.c b/libguile/smob.c
index 2f65e8eb8..e07b24c50 100644
--- a/libguile/smob.c
+++ b/libguile/smob.c
@@ -203,8 +203,10 @@ scm_set_smob_mfpe (long tc,
if (equalp) scm_set_smob_equalp (tc, equalp);
}
-/* Deprecated function - use scm_make_smob_type, or scm_make_smob_type_mfpe
- instead. */
+
+#if (SCM_DEBUG_DEPRECATED == 0)
+
+/* Use scm_make_smob_type or scm_make_smob_type_mfpe instead. */
long
scm_newsmob (const scm_smobfuns *smob)
{
@@ -216,6 +218,8 @@ scm_newsmob (const scm_smobfuns *smob)
return tc;
}
+#endif /* SCM_DEBUG_DEPRECATED == 0 */
+
SCM
scm_make_smob (long tc)