1
Fork 0
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:
Dirk Herrmann 2000-03-29 01:15:56 +00:00
parent 8b3bda2058
commit dd039d6dc6
3 changed files with 18 additions and 8 deletions

View file

@ -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))