changeset 46608:b11c3e06693b

* m/gec63.h (VALBITS, VALAMASK, XTYPE, XSETTYPE, XPNTR, XSET, ARRAY_MARK_FLAG): Deleted. (DATA_SEG_BITS): Define.
author Ken Raeburn <raeburn@raeburn.org>
date Mon, 22 Jul 2002 00:08:23 +0000
parents 7ab3db640f08
children 57e7eb824978
files src/m/gec63.h
diffstat 1 files changed, 2 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/gec63.h	Mon Jul 22 00:08:18 2002 +0000
+++ b/src/m/gec63.h	Mon Jul 22 00:08:23 2002 +0000
@@ -50,20 +50,6 @@
 
 #define NO_REMAP
 
-/* The rest of the file certainly needs updating for Emacs 19.29!  */
-
-/* Define sizes of portions of a Lisp_Object.  */
-#define VALBITS 24
-
-#define VALAMASK (((1<<VALBITS) - 1)| 0xF0000000L)
+/* This needs verification!  */
 
-#define XTYPE(a) ((enum Lisp_Type) (((a) >> VALBITS) & GCTYPEMASK))
-#define XSETTYPE(a, b) ((a)  =  ((a) & VALAMASK)  +  ((int)(b) << VALBITS))
-
-#define XPNTR(a) ((a) & VALAMASK)
-
-#define XSET(var, type, ptr) \
-   ((var) = ((int)(type) << VALBITS) + ((int) (ptr) & VALAMASK))
-
-/* Move some garbage-collector flag bits to different bit positions.  */
-#define ARRAY_MARK_FLAG (1 << 27)
+#define DATA_SEG_BITS 0xF0000000L