mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 07:30:32 +02:00
(scm_is_eq): New.
This commit is contained in:
parent
1fe56d60fd
commit
9c293a3d2f
1 changed files with 2 additions and 1 deletions
|
@ -136,7 +136,8 @@ typedef unsigned long scm_t_bits;
|
||||||
/* SCM values can not be compared by using the operator ==. Use the following
|
/* SCM values can not be compared by using the operator ==. Use the following
|
||||||
* macro instead, which is the equivalent of the scheme predicate 'eq?'.
|
* macro instead, which is the equivalent of the scheme predicate 'eq?'.
|
||||||
*/
|
*/
|
||||||
#define SCM_EQ_P(x, y) (SCM_UNPACK (x) == SCM_UNPACK (y))
|
#define scm_is_eq(x, y) (SCM_UNPACK (x) == SCM_UNPACK (y))
|
||||||
|
#define SCM_EQ_P scm_is_eq
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue