1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-10 15:56:18 +00:00

* lisp.h (VALMASK) [!USE_LSB_TAG]: Now a macro

as well as a constant, since it's used in non-static inline functions now.
This commit is contained in:
Paul Eggert 2012-08-02 03:49:19 -07:00
parent d784422152
commit a8333d0357
2 changed files with 4 additions and 1 deletions

View File

@ -30,6 +30,7 @@
(INLINE_HEADER_END): New macros.
* lisp.h (PSEUDOVECTOR_FLAG): Now a macro as well as a constant,
since it's used in non-static inline functions now.
(VALMASK) [!USE_LSB_TAG]: Likewise.
2012-08-02 Glenn Morris <rgm@gnu.org>

View File

@ -423,7 +423,9 @@ enum lsb_bits
#else /* not USE_LSB_TAG */
static EMACS_INT const VALMASK = VAL_MAX;
static EMACS_INT const VALMASK
#define VALMASK VAL_MAX
= VALMASK;
#define XTYPE(a) ((enum Lisp_Type) ((EMACS_UINT) XLI (a) >> VALBITS))