Mercurial > hg > xemacs-beta
comparison src/console-msw.c @ 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 | 183866b06e0b |
children | 5fd7ba8b56e7 |
comparison
equal
deleted
inserted
replaced
577:910449c92002 | 578:190b164ddcac |
---|---|
146 return 0; | 146 return 0; |
147 } | 147 } |
148 | 148 |
149 static Lisp_Object | 149 static Lisp_Object |
150 mswindows_canonicalize_console_connection (Lisp_Object connection, | 150 mswindows_canonicalize_console_connection (Lisp_Object connection, |
151 Error_behavior errb) | 151 Error_Behavior errb) |
152 { | 152 { |
153 /* Do not allow more than one mswindows device, by explicitly | 153 /* Do not allow more than one mswindows device, by explicitly |
154 requiring that CONNECTION is nil, the only allowed connection in | 154 requiring that CONNECTION is nil, the only allowed connection in |
155 Windows. */ | 155 Windows. */ |
156 if (!NILP (connection)) | 156 if (!NILP (connection)) |
166 return Qnil; | 166 return Qnil; |
167 } | 167 } |
168 | 168 |
169 static Lisp_Object | 169 static Lisp_Object |
170 mswindows_canonicalize_device_connection (Lisp_Object connection, | 170 mswindows_canonicalize_device_connection (Lisp_Object connection, |
171 Error_behavior errb) | 171 Error_Behavior errb) |
172 { | 172 { |
173 return mswindows_canonicalize_console_connection (connection, errb); | 173 return mswindows_canonicalize_console_connection (connection, errb); |
174 } | 174 } |
175 | 175 |
176 void | 176 void |
596 frob, errval, XSTRING_DATA (errmess)); | 596 frob, errval, XSTRING_DATA (errmess)); |
597 } | 597 } |
598 | 598 |
599 static Lisp_Object | 599 static Lisp_Object |
600 msprinter_canonicalize_console_connection (Lisp_Object connection, | 600 msprinter_canonicalize_console_connection (Lisp_Object connection, |
601 Error_behavior errb) | 601 Error_Behavior errb) |
602 { | 602 { |
603 /* If nil connection is specified, transform it into the name | 603 /* If nil connection is specified, transform it into the name |
604 of the default printer */ | 604 of the default printer */ |
605 if (NILP (connection)) | 605 if (NILP (connection)) |
606 { | 606 { |
619 return connection; | 619 return connection; |
620 } | 620 } |
621 | 621 |
622 static Lisp_Object | 622 static Lisp_Object |
623 msprinter_canonicalize_device_connection (Lisp_Object connection, | 623 msprinter_canonicalize_device_connection (Lisp_Object connection, |
624 Error_behavior errb) | 624 Error_Behavior errb) |
625 { | 625 { |
626 return msprinter_canonicalize_console_connection (connection, errb); | 626 return msprinter_canonicalize_console_connection (connection, errb); |
627 } | 627 } |
628 | 628 |
629 | 629 |