Use INTERNAL_FIELD for conses and overlays.
authorDmitry Antipov <dmantipov@yandex.ru>
Wed, 1 Aug 2012 08:49:28 +0000 (12:49 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Wed, 1 Aug 2012 08:49:28 +0000 (12:49 +0400)
commitd8a05828fd9f78c6cadddd8b47b53d83833c3917
treee79a8e7e0a0abc277d5f928835abb0b64d7dcae7
parent015a2738eb575f9dc07ea5e589eb88c8e071930a
Use INTERNAL_FIELD for conses and overlays.
* src/lisp.h (struct Lisp_Cons): Use INTERNAL_FIELD.
Remove obsolete comment.
(MVAR): New macro.
(struct Lisp_Overlay): Use INTERNAL_FIELD.
* src/alloc.c, src/buffer.c, src/buffer.h, src/fns.c: Adjust users.
* admin/coccinelle/overlay.cocci: Semantic patch to replace direct
access to Lisp_Object members of struct Lisp_Overlay to MVAR.
admin/ChangeLog
admin/coccinelle/overlay.cocci [new file with mode: 0644]
src/ChangeLog
src/alloc.c
src/buffer.c
src/buffer.h
src/fns.c
src/lisp.h