1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 00:31:01 -08:00

(struct terminal): Move all Lisp_Object fields traced by

the GC to the beginning.
This commit is contained in:
Stefan Monnier 2007-09-27 19:50:02 +00:00
parent 2bf3a08778
commit ff16b87572
2 changed files with 9 additions and 3 deletions

View file

@ -1,5 +1,8 @@
2007-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
* termhooks.h (struct terminal): Move all Lisp_Object fields traced by
the GC to the beginning.
* indent.h:
* indent.c: Use EMACS_INT for ints coming from Elisp data.

View file

@ -320,6 +320,12 @@ struct terminal
EMACS_INT size;
struct Lisp_Vector *vec_next;
/* Parameter alist of this terminal. */
Lisp_Object param_alist;
/* All fields before `next_terminal' should be Lisp_Object and are traced
by the GC. All fields afterwards are ignored by the GC. */
/* Chain of all terminal devices. */
struct terminal *next_terminal;
@ -363,9 +369,6 @@ struct terminal
the function `set-keyboard-coding-system'. */
struct coding_system *keyboard_coding;
/* Parameter alist of this terminal. */
Lisp_Object param_alist;
/* Terminal characteristics. */
/* XXX Are these really used on non-termcap displays? */