diff options
Diffstat (limited to 'libguile/__scm.h')
-rw-r--r-- | libguile/__scm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libguile/__scm.h b/libguile/__scm.h index 8fe7c3b56..9e0fea279 100644 --- a/libguile/__scm.h +++ b/libguile/__scm.h @@ -195,6 +195,15 @@ #define SCM_DEBUG_TYPING_STRICTNESS 0 #endif +/* If SCM_ENABLE_VCELLS is set to 1, a couple of functions that deal + * with vcells are defined for compatability reasons. Supporting + * vcells reduces performance however. + * + * We use a dedicated macro instead of just SCM_DEBUG_DEPRECATED so + * that code the belongs to the `vcell' feature is easier to find. + */ +#define SCM_ENABLE_VCELLS !SCM_DEBUG_DEPRECATED + #ifdef HAVE_LONG_LONGS |