diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-10-13 23:09:43 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-10-13 23:10:14 -0700 |
commit | 2cc412cdc2635ecb99129271abe94bdd744742c2 (patch) | |
tree | 34064c89c867882aa3c5f285b1f638c40d82cf3b /lib/unistd.c | |
parent | 3fa424ca48f4f48a40a514153726758b6ed47892 (diff) | |
download | emacs-2cc412cdc2635ecb99129271abe94bdd744742c2.tar.gz emacs-2cc412cdc2635ecb99129271abe94bdd744742c2.tar.bz2 emacs-2cc412cdc2635ecb99129271abe94bdd744742c2.zip |
Take XPNTR private
* src/alloc.c (PURE_POINTER_P): Remove.
All uses replaced with PURE_P.
(XPNTR_OR_SYMBOL_OFFSET): New function.
(XPNTR): Move here from lisp.h.
Reimplement in terms of XPNTR_OR_SYMBOL_OFFSET.
(mark_maybe_object, valid_lisp_object_p, survives_gc_p):
Remove unnecessary cast.
(purecopy): Use XPNTR_OR_SYMBOL_OFFSET instead of XPNTR,
to avoid an unnecessary runtime test for symbols.
* src/lisp.h (lisp_h_XPNTR, XPNTR): Remove, moving XPNTR to alloc.c.
Only alloc.c needs XPNTR now.
Diffstat (limited to 'lib/unistd.c')
0 files changed, 0 insertions, 0 deletions