diff options
-rw-r--r-- | libguile/deprecated.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libguile/deprecated.h b/libguile/deprecated.h index 9be516e5e..56cf5e0b9 100644 --- a/libguile/deprecated.h +++ b/libguile/deprecated.h @@ -300,6 +300,11 @@ SCM_API SCM scm_gentemp (SCM prefix, SCM obarray); #define SCM_VALIDATE_OPDIR(pos, port) SCM_MAKE_VALIDATE (pos, port, OPDIRP) +/* Deprecated because we can not safely cast a SCM* to a scm_t_bits* + */ + +#define SCM_CELL_WORD_LOC(x, n) ((scm_t_bits*)SCM_CELL_OBJECT_LOC((x),(n))) + void scm_i_init_deprecated (void); #endif |