diff src/termhooks.h @ 84953:0440e26f0af7

(struct terminal): Move all Lisp_Object fields traced by the GC to the beginning.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 27 Sep 2007 19:50:02 +0000
parents 53194ec05789
children 96eb42c9e0e3
line wrap: on
line diff
--- a/src/termhooks.h	Thu Sep 27 18:56:16 2007 +0000
+++ b/src/termhooks.h	Thu Sep 27 19:50:02 2007 +0000
@@ -320,6 +320,12 @@
   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 @@
      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? */