diff options
| author | Stefan Monnier | 2003-11-05 15:51:38 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2003-11-05 15:51:38 +0000 |
| commit | 870f3610653a9803d8a5c67afb34cade86c275d3 (patch) | |
| tree | 961bf00d0e1481bd06ea4a8f1cae9057d10b904b /src | |
| parent | 3d6d1a915cbf1cd0a839b0eb46377ac70669a8c6 (diff) | |
| download | emacs-870f3610653a9803d8a5c67afb34cade86c275d3.tar.gz emacs-870f3610653a9803d8a5c67afb34cade86c275d3.zip | |
(GCTYPEMASK): Remove.
(XGCTYPE): Make it an alias of XTYPE.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lisp.h | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/src/lisp.h b/src/lisp.h index 8cacd349111..2638f8c6a79 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -253,7 +253,6 @@ LISP_MAKE_RVALUE (Lisp_Object o) | |||
| 253 | #ifndef VALMASK | 253 | #ifndef VALMASK |
| 254 | #define VALMASK ((((EMACS_INT) 1)<<VALBITS) - 1) | 254 | #define VALMASK ((((EMACS_INT) 1)<<VALBITS) - 1) |
| 255 | #endif | 255 | #endif |
| 256 | #define GCTYPEMASK ((((EMACS_INT) 1)<<GCTYPEBITS) - 1) | ||
| 257 | 256 | ||
| 258 | /* Two flags that are set during GC. On some machines, these flags | 257 | /* Two flags that are set during GC. On some machines, these flags |
| 259 | are defined differently by the m- file. */ | 258 | are defined differently by the m- file. */ |
| @@ -356,16 +355,6 @@ enum pvec_type | |||
| 356 | #define make_number(N) \ | 355 | #define make_number(N) \ |
| 357 | ((((EMACS_INT) (N)) & VALMASK) | ((EMACS_INT) Lisp_Int) << VALBITS) | 356 | ((((EMACS_INT) (N)) & VALMASK) | ((EMACS_INT) Lisp_Int) << VALBITS) |
| 358 | 357 | ||
| 359 | /* During garbage collection, XGCTYPE must be used for extracting types | ||
| 360 | so that the mark bit is ignored. XMARKBIT accesses the markbit. | ||
| 361 | Markbits are used only in particular slots of particular structure types. | ||
| 362 | Other markbits are always zero. | ||
| 363 | Outside of garbage collection, all mark bits are always zero. */ | ||
| 364 | |||
| 365 | #ifndef XGCTYPE | ||
| 366 | #define XGCTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & GCTYPEMASK)) | ||
| 367 | #endif | ||
| 368 | |||
| 369 | #endif /* NO_UNION_TYPE */ | 358 | #endif /* NO_UNION_TYPE */ |
| 370 | 359 | ||
| 371 | #ifndef NO_UNION_TYPE | 360 | #ifndef NO_UNION_TYPE |
| @@ -399,15 +388,18 @@ enum pvec_type | |||
| 399 | extern Lisp_Object make_number (); | 388 | extern Lisp_Object make_number (); |
| 400 | #endif | 389 | #endif |
| 401 | 390 | ||
| 391 | #endif /* NO_UNION_TYPE */ | ||
| 392 | |||
| 402 | /* During garbage collection, XGCTYPE must be used for extracting types | 393 | /* During garbage collection, XGCTYPE must be used for extracting types |
| 403 | so that the mark bit is ignored. XMARKBIT access the markbit. | 394 | so that the mark bit is ignored. XMARKBIT accesses the markbit. |
| 404 | Markbits are used only in particular slots of particular structure types. | 395 | Markbits are used only in particular slots of particular structure types. |
| 405 | Other markbits are always zero. | 396 | Other markbits are always zero. |
| 406 | Outside of garbage collection, all mark bits are always zero. */ | 397 | Outside of garbage collection, all mark bits are always zero. */ |
| 407 | 398 | ||
| 408 | #define XGCTYPE(a) ((a).gu.type) | 399 | #ifndef XGCTYPE |
| 409 | 400 | /* The distinction does not exist now that the MARKBIT has been eliminated. */ | |
| 410 | #endif /* NO_UNION_TYPE */ | 401 | #define XGCTYPE(a) XTYPE(a) |
| 402 | #endif | ||
| 411 | 403 | ||
| 412 | #ifndef XPNTR | 404 | #ifndef XPNTR |
| 413 | #ifdef HAVE_SHM | 405 | #ifdef HAVE_SHM |