Mercurial > hg > xemacs-beta
comparison src/console-tty.c @ 424:11054d720c21 r21-2-20
Import from CVS: tag r21-2-20
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:26:11 +0200 |
parents | 41dbb7a9d5f2 |
children |
comparison
equal
deleted
inserted
replaced
423:28d9c139be4c | 424:11054d720c21 |
---|---|
164 | 164 |
165 UNGCPRO; | 165 UNGCPRO; |
166 } | 166 } |
167 | 167 |
168 static void | 168 static void |
169 tty_mark_console (struct console *con, void (*markobj) (Lisp_Object)) | 169 tty_mark_console (struct console *con) |
170 { | 170 { |
171 struct tty_console *tty_con = CONSOLE_TTY_DATA (con); | 171 struct tty_console *tty_con = CONSOLE_TTY_DATA (con); |
172 markobj (tty_con->terminal_type); | 172 mark_object (tty_con->terminal_type); |
173 markobj (tty_con->instream); | 173 mark_object (tty_con->instream); |
174 markobj (tty_con->outstream); | 174 mark_object (tty_con->outstream); |
175 } | 175 } |
176 | 176 |
177 static int | 177 static int |
178 tty_initially_selected_for_input (struct console *con) | 178 tty_initially_selected_for_input (struct console *con) |
179 { | 179 { |
370 CONSOLE_HAS_METHOD (tty, semi_canonicalize_console_connection); | 370 CONSOLE_HAS_METHOD (tty, semi_canonicalize_console_connection); |
371 CONSOLE_HAS_METHOD (tty, semi_canonicalize_device_connection); | 371 CONSOLE_HAS_METHOD (tty, semi_canonicalize_device_connection); |
372 } | 372 } |
373 | 373 |
374 void | 374 void |
375 reinit_console_type_create_tty (void) | |
376 { | |
377 REINITIALIZE_CONSOLE_TYPE (tty); | |
378 } | |
379 | |
380 void | |
375 image_instantiator_format_create_glyphs_tty (void) | 381 image_instantiator_format_create_glyphs_tty (void) |
376 { | 382 { |
377 IIFORMAT_VALID_CONSOLE (tty, nothing); | 383 IIFORMAT_VALID_CONSOLE (tty, nothing); |
378 IIFORMAT_VALID_CONSOLE (tty, string); | 384 IIFORMAT_VALID_CONSOLE (tty, string); |
379 IIFORMAT_VALID_CONSOLE (tty, formatted_string); | 385 IIFORMAT_VALID_CONSOLE (tty, formatted_string); |