From 41a2f6fc0c62afeb09bd7fbae4e9eca794c26bbe Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Thu, 6 May 2004 16:42:50 +0000 Subject: [PATCH] (SCM_CELL_WORD_LOC): Moved to "deprecated.h". --- libguile/deprecated.h | 5 +++++ 1 file changed, 5 insertions(+) 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