(scm_is_eq): New.
authorMarius Vollmer <mvo@zagadka.de>
Tue, 6 Jul 2004 10:42:33 +0000 (10:42 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Tue, 6 Jul 2004 10:42:33 +0000 (10:42 +0000)
libguile/tags.h

index 9b06cdc..dd90126 100644 (file)
@@ -136,7 +136,8 @@ typedef unsigned long scm_t_bits;
 /* SCM values can not be compared by using the operator ==.  Use the following
  * 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
 
 \f