mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-16 16:50:21 +02:00
* New macro SCM_TRUE_P.
* Use SCM_EQ_P to compare SCM values.
This commit is contained in:
parent
8b3bda2058
commit
dd039d6dc6
3 changed files with 18 additions and 8 deletions
|
@ -52,8 +52,8 @@
|
|||
|
||||
|
||||
|
||||
#define SCM_NULLP(x) (SCM_EOL == (x))
|
||||
#define SCM_NNULLP(x) (SCM_EOL != (x))
|
||||
#define SCM_NULLP(x) (SCM_EQ_P ((x), SCM_EOL))
|
||||
#define SCM_NNULLP(x) (!SCM_NULLP (x))
|
||||
|
||||
#define SCM_CAR(x) (SCM_CELL_OBJECT_0 (x))
|
||||
#define SCM_CDR(x) (SCM_CELL_OBJECT_1 (x))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue