aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 6dd24813f0e..bbad0b28226 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -308,11 +308,11 @@ typedef EMACS_INT Lisp_Object;
308 308
309/* In the size word of a vector, this bit means the vector has been marked. */ 309/* In the size word of a vector, this bit means the vector has been marked. */
310 310
311#define ARRAY_MARK_FLAG ((EMACS_INT) ((EMACS_UINT) 1 << (VALBITS + GCTYPEBITS - 1))) 311#define ARRAY_MARK_FLAG ((EMACS_UINT) 1 << (BITS_PER_EMACS_INT - 1))
312 312
313/* In the size word of a struct Lisp_Vector, this bit means it's really 313/* In the size word of a struct Lisp_Vector, this bit means it's really
314 some other vector-like object. */ 314 some other vector-like object. */
315#define PSEUDOVECTOR_FLAG ((ARRAY_MARK_FLAG >> 1) & ~ARRAY_MARK_FLAG) 315#define PSEUDOVECTOR_FLAG ((ARRAY_MARK_FLAG >> 1))
316 316
317/* In a pseudovector, the size field actually contains a word with one 317/* In a pseudovector, the size field actually contains a word with one
318 PSEUDOVECTOR_FLAG bit set, and exactly one of the following bits to 318 PSEUDOVECTOR_FLAG bit set, and exactly one of the following bits to
@@ -733,7 +733,7 @@ struct Lisp_String
733 733
734struct Lisp_Vector 734struct Lisp_Vector
735 { 735 {
736 EMACS_INT size; 736 EMACS_UINT size;
737 struct Lisp_Vector *next; 737 struct Lisp_Vector *next;
738 Lisp_Object contents[1]; 738 Lisp_Object contents[1];
739 }; 739 };
@@ -840,7 +840,7 @@ struct Lisp_Char_Table
840 pseudovector type information. It holds the size, too. 840 pseudovector type information. It holds the size, too.
841 The size counts the top, defalt, purpose, and parent slots. 841 The size counts the top, defalt, purpose, and parent slots.
842 The last three are not counted if this is a sub char table. */ 842 The last three are not counted if this is a sub char table. */
843 EMACS_INT size; 843 EMACS_UINT size;
844 struct Lisp_Vector *next; 844 struct Lisp_Vector *next;
845 /* This holds a flag to tell if this is a top level char table (t) 845 /* This holds a flag to tell if this is a top level char table (t)
846 or a sub char table (nil). */ 846 or a sub char table (nil). */
@@ -871,10 +871,10 @@ struct Lisp_Bool_Vector
871 { 871 {
872 /* This is the vector's size field. It doesn't have the real size, 872 /* This is the vector's size field. It doesn't have the real size,
873 just the subtype information. */ 873 just the subtype information. */
874 EMACS_INT vector_size; 874 EMACS_UINT vector_size;
875 struct Lisp_Vector *next; 875 struct Lisp_Vector *next;
876 /* This is the size in bits. */ 876 /* This is the size in bits. */
877 EMACS_INT size; 877 EMACS_UINT size;
878 /* This contains the actual bits, packed into bytes. */ 878 /* This contains the actual bits, packed into bytes. */
879 unsigned char data[1]; 879 unsigned char data[1];
880 }; 880 };
@@ -889,7 +889,7 @@ struct Lisp_Bool_Vector
889 889
890struct Lisp_Subr 890struct Lisp_Subr
891 { 891 {
892 EMACS_INT size; 892 EMACS_UINT size;
893 Lisp_Object (*function) (); 893 Lisp_Object (*function) ();
894 short min_args, max_args; 894 short min_args, max_args;
895 char *symbol_name; 895 char *symbol_name;
@@ -1000,7 +1000,7 @@ struct Lisp_Symbol
1000struct Lisp_Hash_Table 1000struct Lisp_Hash_Table
1001{ 1001{
1002 /* Vector fields. The hash table code doesn't refer to these. */ 1002 /* Vector fields. The hash table code doesn't refer to these. */
1003 EMACS_INT size; 1003 EMACS_UINT size;
1004 struct Lisp_Vector *vec_next; 1004 struct Lisp_Vector *vec_next;
1005 1005
1006 /* Function used to compare keys. */ 1006 /* Function used to compare keys. */