comparison src/console.h @ 578:190b164ddcac

[xemacs-hg @ 2001-05-25 11:26:50 by ben] device-msw.c, eldap.c, emodules.c, hpplay.c, process-unix.c, sound.h, tooltalk.c, win32.c: Revert Martin's attempted compile-warnings fix. It does fix the warnings, but not the right way. We are trying to eliminate the raw use of `char' and `unsigned char' absolutely everywhere. There is never an occasion to reintroduce these. buffer.h: Instead, we fix these macros so they don't care about the type of their lvalues. We already do this for the non-C-string equivalents of these, and it's correct because it should be OK to pass in an SBufbyte *, for example. In any case, we do not need any type-correctness checking here -- errors will be caught for sure as soon as we remove the -Wno-sign-compare switch. mule-charset.c: Use invalid_argument, not generic signal_error (Qerror, ). alloc.c, chartab.c, console-gtk.c, console-msw.c, console-stream.c, console-stream.h, console-tty.c, console-tty.h, console-x.c, console.c, console.h, device-x.c, device.c, elhash.c, eval.c, faces.c, faces.h, fns.c, glyphs.c, glyphs.h, gui.c, gui.h, lisp.h, lread.c, nt.c, objects-gtk.c, objects-gtk.h, objects-msw.c, objects-tty.c, objects-x.c, objects.c, process-unix.c, rangetab.c, search.c, specifier.c, toolbar.c, window.c, window.h: Rename Error_behavior to Error_Behavior, to be consistent with general naming practices (Lisp_Object, Char_Binary, etc.).
author ben
date Fri, 25 May 2001 11:27:01 +0000
parents 9a775fb11bb7
children af57a77cbc92
comparison
equal deleted inserted replaced
577:910449c92002 578:190b164ddcac
96 void (*init_console_method) (struct console *, Lisp_Object props); 96 void (*init_console_method) (struct console *, Lisp_Object props);
97 void (*mark_console_method) (struct console *); 97 void (*mark_console_method) (struct console *);
98 int (*initially_selected_for_input_method) (struct console *); 98 int (*initially_selected_for_input_method) (struct console *);
99 void (*delete_console_method) (struct console *); 99 void (*delete_console_method) (struct console *);
100 Lisp_Object (*semi_canonicalize_console_connection_method) 100 Lisp_Object (*semi_canonicalize_console_connection_method)
101 (Lisp_Object connection, Error_behavior errb); 101 (Lisp_Object connection, Error_Behavior errb);
102 Lisp_Object (*semi_canonicalize_device_connection_method) 102 Lisp_Object (*semi_canonicalize_device_connection_method)
103 (Lisp_Object connection, Error_behavior errb); 103 (Lisp_Object connection, Error_Behavior errb);
104 Lisp_Object (*canonicalize_console_connection_method) 104 Lisp_Object (*canonicalize_console_connection_method)
105 (Lisp_Object connection, Error_behavior errb); 105 (Lisp_Object connection, Error_Behavior errb);
106 Lisp_Object (*canonicalize_device_connection_method) 106 Lisp_Object (*canonicalize_device_connection_method)
107 (Lisp_Object connection, Error_behavior errb); 107 (Lisp_Object connection, Error_Behavior errb);
108 Lisp_Object (*device_to_console_connection_method) 108 Lisp_Object (*device_to_console_connection_method)
109 (Lisp_Object connection, Error_behavior errb); 109 (Lisp_Object connection, Error_Behavior errb);
110 110
111 /* device methods */ 111 /* device methods */
112 void (*init_device_method) (struct device *, Lisp_Object props); 112 void (*init_device_method) (struct device *, Lisp_Object props);
113 void (*finish_init_device_method) (struct device *, Lisp_Object props); 113 void (*finish_init_device_method) (struct device *, Lisp_Object props);
114 void (*delete_device_method) (struct device *); 114 void (*delete_device_method) (struct device *);
208 int cursor_height); 208 int cursor_height);
209 /* color methods */ 209 /* color methods */
210 int (*initialize_color_instance_method) (Lisp_Color_Instance *, 210 int (*initialize_color_instance_method) (Lisp_Color_Instance *,
211 Lisp_Object name, 211 Lisp_Object name,
212 Lisp_Object device, 212 Lisp_Object device,
213 Error_behavior errb); 213 Error_Behavior errb);
214 void (*mark_color_instance_method) (Lisp_Color_Instance *); 214 void (*mark_color_instance_method) (Lisp_Color_Instance *);
215 void (*print_color_instance_method) (Lisp_Color_Instance *, 215 void (*print_color_instance_method) (Lisp_Color_Instance *,
216 Lisp_Object printcharfun, 216 Lisp_Object printcharfun,
217 int escapeflag); 217 int escapeflag);
218 void (*finalize_color_instance_method) (Lisp_Color_Instance *); 218 void (*finalize_color_instance_method) (Lisp_Color_Instance *);
226 226
227 /* font methods */ 227 /* font methods */
228 int (*initialize_font_instance_method) (Lisp_Font_Instance *, 228 int (*initialize_font_instance_method) (Lisp_Font_Instance *,
229 Lisp_Object name, 229 Lisp_Object name,
230 Lisp_Object device, 230 Lisp_Object device,
231 Error_behavior errb); 231 Error_Behavior errb);
232 void (*mark_font_instance_method) (Lisp_Font_Instance *); 232 void (*mark_font_instance_method) (Lisp_Font_Instance *);
233 void (*print_font_instance_method) (Lisp_Font_Instance *, 233 void (*print_font_instance_method) (Lisp_Font_Instance *,
234 Lisp_Object printcharfun, 234 Lisp_Object printcharfun,
235 int escapeflag); 235 int escapeflag);
236 void (*finalize_font_instance_method) (Lisp_Font_Instance *); 236 void (*finalize_font_instance_method) (Lisp_Font_Instance *);
237 Lisp_Object (*font_instance_truename_method) (Lisp_Font_Instance *, 237 Lisp_Object (*font_instance_truename_method) (Lisp_Font_Instance *,
238 Error_behavior errb); 238 Error_Behavior errb);
239 Lisp_Object (*font_instance_properties_method) (Lisp_Font_Instance *); 239 Lisp_Object (*font_instance_properties_method) (Lisp_Font_Instance *);
240 Lisp_Object (*list_fonts_method) (Lisp_Object pattern, 240 Lisp_Object (*list_fonts_method) (Lisp_Object pattern,
241 Lisp_Object device); 241 Lisp_Object device);
242 Lisp_Object (*find_charset_font_method) (Lisp_Object device, 242 Lisp_Object (*find_charset_font_method) (Lisp_Object device,
243 Lisp_Object font, 243 Lisp_Object font,
622 struct console *decode_console (Lisp_Object); 622 struct console *decode_console (Lisp_Object);
623 Lisp_Object make_console (struct console *c); 623 Lisp_Object make_console (struct console *c);
624 void add_entry_to_console_type_list (Lisp_Object symbol, 624 void add_entry_to_console_type_list (Lisp_Object symbol,
625 struct console_methods *type); 625 struct console_methods *type);
626 struct console_methods *decode_console_type (Lisp_Object type, 626 struct console_methods *decode_console_type (Lisp_Object type,
627 Error_behavior errb); 627 Error_Behavior errb);
628 void delete_console_internal (struct console *con, int force, 628 void delete_console_internal (struct console *con, int force,
629 int from_kill_emacs, int from_io_error); 629 int from_kill_emacs, int from_io_error);
630 void io_error_delete_console (Lisp_Object console); 630 void io_error_delete_console (Lisp_Object console);
631 void set_console_last_nonminibuf_frame (struct console *con, 631 void set_console_last_nonminibuf_frame (struct console *con,
632 Lisp_Object frame); 632 Lisp_Object frame);