mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 22:10:21 +02:00
(SCM_CELL_OBJECT_LOC): use SCM_GC_CELL_OBJECT to prevent
compound expression as lvalue errors.
This commit is contained in:
parent
7c2f56a4de
commit
141521ad8b
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-05-26 Han-Wen Nienhuys <hanwen@xs4all.nl>
|
||||
|
||||
* gc.h (SCM_CELL_OBJECT_LOC): use SCM_GC_CELL_OBJECT to prevent
|
||||
compound expression as lvalue errors.
|
||||
|
||||
2004-05-24 Marius Vollmer <mvo@zagadka.de>
|
||||
|
||||
* dynwind.c (winder_mark): Use SCM_PACK to correctly convert the
|
||||
|
|
|
@ -214,7 +214,7 @@ typedef unsigned long scm_t_c_bvec_long;
|
|||
(SCM_GC_SET_CELL_OBJECT ((x), 1, (v)))
|
||||
|
||||
|
||||
#define SCM_CELL_OBJECT_LOC(x, n) (&SCM_CELL_OBJECT ((x), (n)))
|
||||
#define SCM_CELL_OBJECT_LOC(x, n) (SCM_VALIDATE_CELL((x), &SCM_GC_CELL_OBJECT ((x), (n))))
|
||||
#define SCM_CARLOC(x) (SCM_CELL_OBJECT_LOC ((x), 0))
|
||||
#define SCM_CDRLOC(x) (SCM_CELL_OBJECT_LOC ((x), 1))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue