Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
870f3610
Commit
870f3610
authored
Nov 05, 2003
by
Stefan Monnier
Browse files
(GCTYPEMASK): Remove.
(XGCTYPE): Make it an alias of XTYPE.
parent
3d6d1a91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
15 deletions
+7
-15
src/lisp.h
src/lisp.h
+7
-15
No files found.
src/lisp.h
View file @
870f3610
...
...
@@ -253,7 +253,6 @@ LISP_MAKE_RVALUE (Lisp_Object o)
#ifndef VALMASK
#define VALMASK ((((EMACS_INT) 1)<<VALBITS) - 1)
#endif
#define GCTYPEMASK ((((EMACS_INT) 1)<<GCTYPEBITS) - 1)
/* Two flags that are set during GC. On some machines, these flags
are defined differently by the m- file. */
...
...
@@ -356,16 +355,6 @@ enum pvec_type
#define make_number(N) \
((((EMACS_INT) (N)) & VALMASK) | ((EMACS_INT) Lisp_Int) << VALBITS)
/* During garbage collection, XGCTYPE must be used for extracting types
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. */
#ifndef XGCTYPE
#define XGCTYPE(a) ((enum Lisp_Type) (((a) >> 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 access
es
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment