From: Stefan Monnier Date: Wed, 5 Nov 2003 15:51:38 +0000 (+0000) Subject: (GCTYPEMASK): Remove. X-Git-Tag: ttn-vms-21-2-B4~8415 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=870f3610653a9803d8a5c67afb34cade86c275d3;p=emacs.git (GCTYPEMASK): Remove. (XGCTYPE): Make it an alias of XTYPE. --- 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) #ifndef VALMASK #define VALMASK ((((EMACS_INT) 1)<> VALBITS) & GCTYPEMASK)) -#endif - #endif /* NO_UNION_TYPE */ #ifndef NO_UNION_TYPE @@ -399,15 +388,18 @@ enum pvec_type extern Lisp_Object make_number (); #endif +#endif /* NO_UNION_TYPE */ + /* During garbage collection, XGCTYPE must be used for extracting types - so that the mark bit is ignored. XMARKBIT access the markbit. + so that the mark bit is ignored. XMARKBIT accesses the markbit. Markbits are used only in particular slots of particular structure types. Other markbits are always zero. Outside of garbage collection, all mark bits are always zero. */ -#define XGCTYPE(a) ((a).gu.type) - -#endif /* NO_UNION_TYPE */ +#ifndef XGCTYPE +/* The distinction does not exist now that the MARKBIT has been eliminated. */ +#define XGCTYPE(a) XTYPE(a) +#endif #ifndef XPNTR #ifdef HAVE_SHM