diff options
author | Marius Vollmer <mvo@zagadka.de> | 2004-05-06 16:42:50 +0000 |
---|---|---|
committer | Marius Vollmer <mvo@zagadka.de> | 2004-05-06 16:42:50 +0000 |
commit | 41a2f6fc0c62afeb09bd7fbae4e9eca794c26bbe (patch) | |
tree | 011c5f9d45c78edaf72bfc045be4657ed6034267 | |
parent | fba8fdc0d35e47ebb53f8ad50091e9c7b32fa761 (diff) |
(SCM_CELL_WORD_LOC): Moved to "deprecated.h".
-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 |