diff options
| author | Stefan Monnier | 2007-09-27 19:50:02 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-09-27 19:50:02 +0000 |
| commit | ff16b875720e6328cabe271a394a13f60452dcd4 (patch) | |
| tree | 14ac1db368633a9421f40834523c4e0effed80a2 /src | |
| parent | 2bf3a0877833642d0d5486940cd4dc48d9ba5cd4 (diff) | |
| download | emacs-ff16b875720e6328cabe271a394a13f60452dcd4.tar.gz emacs-ff16b875720e6328cabe271a394a13f60452dcd4.zip | |
(struct terminal): Move all Lisp_Object fields traced by
the GC to the beginning.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/termhooks.h | 9 |
2 files changed, 9 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 20bc0a38762..f6e21a6f4b1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2007-09-27 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2007-09-27 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * termhooks.h (struct terminal): Move all Lisp_Object fields traced by | ||
| 4 | the GC to the beginning. | ||
| 5 | |||
| 3 | * indent.h: | 6 | * indent.h: |
| 4 | * indent.c: Use EMACS_INT for ints coming from Elisp data. | 7 | * indent.c: Use EMACS_INT for ints coming from Elisp data. |
| 5 | 8 | ||
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 | |||
| 320 | EMACS_INT size; | 320 | EMACS_INT size; |
| 321 | struct Lisp_Vector *vec_next; | 321 | struct Lisp_Vector *vec_next; |
| 322 | 322 | ||
| 323 | /* Parameter alist of this terminal. */ | ||
| 324 | Lisp_Object param_alist; | ||
| 325 | |||
| 326 | /* All fields before `next_terminal' should be Lisp_Object and are traced | ||
| 327 | by the GC. All fields afterwards are ignored by the GC. */ | ||
| 328 | |||
| 323 | /* Chain of all terminal devices. */ | 329 | /* Chain of all terminal devices. */ |
| 324 | struct terminal *next_terminal; | 330 | struct terminal *next_terminal; |
| 325 | 331 | ||
| @@ -363,9 +369,6 @@ struct terminal | |||
| 363 | the function `set-keyboard-coding-system'. */ | 369 | the function `set-keyboard-coding-system'. */ |
| 364 | struct coding_system *keyboard_coding; | 370 | struct coding_system *keyboard_coding; |
| 365 | 371 | ||
| 366 | /* Parameter alist of this terminal. */ | ||
| 367 | Lisp_Object param_alist; | ||
| 368 | |||
| 369 | /* Terminal characteristics. */ | 372 | /* Terminal characteristics. */ |
| 370 | /* XXX Are these really used on non-termcap displays? */ | 373 | /* XXX Are these really used on non-termcap displays? */ |
| 371 | 374 | ||