(struct terminal): Move all Lisp_Object fields traced by
the GC to the beginning.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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? */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user