diff options
| -rw-r--r-- | src/lisp.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/lisp.h b/src/lisp.h index 968ea4c4086..f278bd32110 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -394,10 +394,7 @@ typedef EMACS_INT Lisp_Word; | |||
| 394 | #define lisp_h_CONSP(x) TAGGEDP (x, Lisp_Cons) | 394 | #define lisp_h_CONSP(x) TAGGEDP (x, Lisp_Cons) |
| 395 | #define lisp_h_BASE_EQ(x, y) (XLI (x) == XLI (y)) | 395 | #define lisp_h_BASE_EQ(x, y) (XLI (x) == XLI (y)) |
| 396 | 396 | ||
| 397 | #define lisp_h_FIXNUMP(x) \ | 397 | #define lisp_h_FIXNUMP(x) ((XTYPE (x) & (Lisp_Int0 | ~Lisp_Int1)) == Lisp_Int0) |
| 398 | (! (((unsigned) (XLI (x) >> (USE_LSB_TAG ? 0 : FIXNUM_BITS)) \ | ||
| 399 | - (unsigned) (Lisp_Int0 >> !USE_LSB_TAG)) \ | ||
| 400 | & ((1 << INTTYPEBITS) - 1))) | ||
| 401 | #define lisp_h_FLOATP(x) TAGGEDP (x, Lisp_Float) | 398 | #define lisp_h_FLOATP(x) TAGGEDP (x, Lisp_Float) |
| 402 | #define lisp_h_NILP(x) BASE_EQ (x, Qnil) | 399 | #define lisp_h_NILP(x) BASE_EQ (x, Qnil) |
| 403 | #define lisp_h_SYMBOL_CONSTANT_P(sym) \ | 400 | #define lisp_h_SYMBOL_CONSTANT_P(sym) \ |
| @@ -405,10 +402,7 @@ typedef EMACS_INT Lisp_Word; | |||
| 405 | #define lisp_h_SYMBOL_TRAPPED_WRITE_P(sym) (XSYMBOL (sym)->u.s.trapped_write) | 402 | #define lisp_h_SYMBOL_TRAPPED_WRITE_P(sym) (XSYMBOL (sym)->u.s.trapped_write) |
| 406 | #define lisp_h_SYMBOL_WITH_POS_P(x) PSEUDOVECTORP (x, PVEC_SYMBOL_WITH_POS) | 403 | #define lisp_h_SYMBOL_WITH_POS_P(x) PSEUDOVECTORP (x, PVEC_SYMBOL_WITH_POS) |
| 407 | #define lisp_h_BARE_SYMBOL_P(x) TAGGEDP (x, Lisp_Symbol) | 404 | #define lisp_h_BARE_SYMBOL_P(x) TAGGEDP (x, Lisp_Symbol) |
| 408 | #define lisp_h_TAGGEDP(a, tag) \ | 405 | #define lisp_h_TAGGEDP(a, tag) (XTYPE (a) == (tag)) |
| 409 | (! (((unsigned) (XLI (a) >> (USE_LSB_TAG ? 0 : VALBITS)) \ | ||
| 410 | - (unsigned) (tag)) \ | ||
| 411 | & ((1 << GCTYPEBITS) - 1))) | ||
| 412 | #define lisp_h_VECTORLIKEP(x) TAGGEDP (x, Lisp_Vectorlike) | 406 | #define lisp_h_VECTORLIKEP(x) TAGGEDP (x, Lisp_Vectorlike) |
| 413 | #define lisp_h_XCAR(c) XCONS (c)->u.s.car | 407 | #define lisp_h_XCAR(c) XCONS (c)->u.s.car |
| 414 | #define lisp_h_XCDR(c) XCONS (c)->u.s.u.cdr | 408 | #define lisp_h_XCDR(c) XCONS (c)->u.s.u.cdr |