summaryrefslogtreecommitdiff
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2007-09-27 19:50:02 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2007-09-27 19:50:02 +0000
commitff16b875720e6328cabe271a394a13f60452dcd4 (patch)
tree14ac1db368633a9421f40834523c4e0effed80a2 /src/termhooks.h
parent2bf3a0877833642d0d5486940cd4dc48d9ba5cd4 (diff)
downloademacs-ff16b875720e6328cabe271a394a13f60452dcd4.tar.gz
(struct terminal): Move all Lisp_Object fields traced by
the GC to the beginning.
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index 8cb1194dc07..3368c906a2d 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -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? */