aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2012-08-02 03:49:19 -0700
committerPaul Eggert2012-08-02 03:49:19 -0700
commita8333d0357ae39595ff60a4c73e1420504c26376 (patch)
tree77eca8791d791c9ff502f51c9e6d66ce55067872 /src
parentd78442215288f97ab32bbb332874a58a201f9a38 (diff)
downloademacs-a8333d0357ae39595ff60a4c73e1420504c26376.tar.gz
emacs-a8333d0357ae39595ff60a4c73e1420504c26376.zip
* lisp.h (VALMASK) [!USE_LSB_TAG]: Now a macro
as well as a constant, since it's used in non-static inline functions now.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog1
-rw-r--r--src/lisp.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f65380abf33..c590e9fb32f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -30,6 +30,7 @@
30 (INLINE_HEADER_END): New macros. 30 (INLINE_HEADER_END): New macros.
31 * lisp.h (PSEUDOVECTOR_FLAG): Now a macro as well as a constant, 31 * lisp.h (PSEUDOVECTOR_FLAG): Now a macro as well as a constant,
32 since it's used in non-static inline functions now. 32 since it's used in non-static inline functions now.
33 (VALMASK) [!USE_LSB_TAG]: Likewise.
33 34
342012-08-02 Glenn Morris <rgm@gnu.org> 352012-08-02 Glenn Morris <rgm@gnu.org>
35 36
diff --git a/src/lisp.h b/src/lisp.h
index 1661ac1caa0..4b54af9fe43 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -423,7 +423,9 @@ enum lsb_bits
423 423
424#else /* not USE_LSB_TAG */ 424#else /* not USE_LSB_TAG */
425 425
426static EMACS_INT const VALMASK = VAL_MAX; 426static EMACS_INT const VALMASK
427#define VALMASK VAL_MAX
428 = VALMASK;
427 429
428#define XTYPE(a) ((enum Lisp_Type) ((EMACS_UINT) XLI (a) >> VALBITS)) 430#define XTYPE(a) ((enum Lisp_Type) ((EMACS_UINT) XLI (a) >> VALBITS))
429 431