HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37fc18a
)
(SCM_VARIABLE_LOC): Use SCM_CELL_OBJECT_LOC instead of casting
author
Marius Vollmer
<mvo@zagadka.de>
Thu, 6 May 2004 16:41:47 +0000
(16:41 +0000)
committer
Marius Vollmer
<mvo@zagadka.de>
Thu, 6 May 2004 16:41:47 +0000
(16:41 +0000)
SCM_CELL_WORD_LOC.
libguile/variable.h
patch
|
blob
|
blame
|
history
diff --git
a/libguile/variable.h
b/libguile/variable.h
index
ffeafa3
..
2a20423
100644
(file)
--- a/
libguile/variable.h
+++ b/
libguile/variable.h
@@
-32,7
+32,7
@@
#define SCM_VARIABLEP(X) (!SCM_IMP (X) && SCM_TYP7(X) == scm_tc7_variable)
#define SCM_VARIABLE_REF(V) SCM_CELL_OBJECT_1 (V)
#define SCM_VARIABLE_SET(V, X) SCM_SET_CELL_OBJECT_1 (V, X)
-#define SCM_VARIABLE_LOC(V) (
(SCM *) SCM_CELL_WORD
_LOC ((V), 1))
+#define SCM_VARIABLE_LOC(V) (
SCM_CELL_OBJECT
_LOC ((V), 1))
\f