diff options
| author | Tom Tromey | 2018-08-07 18:08:53 -0600 |
|---|---|---|
| committer | Tom Tromey | 2018-08-07 18:08:53 -0600 |
| commit | d1ec3a0a8e4d7d56ebc1e4fa743130b9974ac6a8 (patch) | |
| tree | 04c920acf142f686d3cac11080b17a2fb0dfc9af /src/msdos.c | |
| parent | 68ebff23f7057090da260830500cb278f7b886a5 (diff) | |
| download | emacs-d1ec3a0a8e4d7d56ebc1e4fa743130b9974ac6a8.tar.gz emacs-d1ec3a0a8e4d7d56ebc1e4fa743130b9974ac6a8.zip | |
More macro renamings for bignum
* src/alloc.c, src/bidi.c, src/buffer.c, src/buffer.h, src/bytecode.c,
src/callint.c, src/callproc.c, src/casefiddle.c, src/casetab.c,
src/category.c, src/ccl.c, src/character.c, src/character.h,
src/charset.c, src/charset.h, src/chartab.c, src/cmds.c, src/coding.c,
src/composite.c, src/composite.h, src/data.c, src/dbusbind.c,
src/decompress.c, src/dired.c, src/dispextern.h, src/dispnew.c,
src/disptab.h, src/doc.c, src/dosfns.c, src/editfns.c,
src/emacs-module.c, src/emacs.c, src/eval.c, src/fileio.c,
src/floatfns.c, src/fns.c, src/font.c, src/font.h, src/fontset.c,
src/frame.c, src/frame.h, src/fringe.c, src/ftcrfont.c, src/ftfont.c,
src/gfilenotify.c, src/gnutls.c, src/gtkutil.c, src/image.c,
src/indent.c, src/insdel.c, src/intervals.c, src/json.c,
src/keyboard.c, src/keymap.c, src/kqueue.c, src/lcms.c, src/lisp.h,
src/lread.c, src/macros.c, src/marker.c, src/menu.c, src/minibuf.c,
src/msdos.c, src/print.c, src/process.c, src/profiler.c, src/search.c,
src/sound.c, src/syntax.c, src/syntax.h, src/sysdep.c, src/term.c,
src/termhooks.h, src/textprop.c, src/undo.c, src/w32.c,
src/w32console.c, src/w32fns.c, src/w32font.c, src/w32inevt.c,
src/w32proc.c, src/w32select.c, src/w32term.c, src/w32term.h,
src/w32uniscribe.c, src/window.c, src/xdisp.c, src/xfaces.c,
src/xfns.c, src/xfont.c, src/xftfont.c, src/xmenu.c, src/xml.c,
src/xrdb.c, src/xselect.c, src/xsettings.c, src/xterm.c, src/xwidget.c
Rename XINT->XFIXNUM, XFASTINT->XFIXNAT, XUINT->XUFIXNUM.
Diffstat (limited to 'src/msdos.c')
| -rw-r--r-- | src/msdos.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/msdos.c b/src/msdos.c index 4f38b1de7d3..4031c579df8 100644 --- a/src/msdos.c +++ b/src/msdos.c | |||
| @@ -224,7 +224,7 @@ them. This happens with wheeled mice on Windows 9X, for example. */) | |||
| 224 | int n; | 224 | int n; |
| 225 | 225 | ||
| 226 | CHECK_FIXNUM (nbuttons); | 226 | CHECK_FIXNUM (nbuttons); |
| 227 | n = XINT (nbuttons); | 227 | n = XFIXNUM (nbuttons); |
| 228 | if (n < 2 || n > 3) | 228 | if (n < 2 || n > 3) |
| 229 | xsignal2 (Qargs_out_of_range, | 229 | xsignal2 (Qargs_out_of_range, |
| 230 | build_string ("only 2 or 3 mouse buttons are supported"), | 230 | build_string ("only 2 or 3 mouse buttons are supported"), |
| @@ -540,7 +540,7 @@ dos_set_window_size (int *rows, int *cols) | |||
| 540 | *rows, *cols), Qnil)); | 540 | *rows, *cols), Qnil)); |
| 541 | 541 | ||
| 542 | if (FIXNUMP (video_mode) | 542 | if (FIXNUMP (video_mode) |
| 543 | && (video_mode_value = XINT (video_mode)) > 0) | 543 | && (video_mode_value = XFIXNUM (video_mode)) > 0) |
| 544 | { | 544 | { |
| 545 | regs.x.ax = video_mode_value; | 545 | regs.x.ax = video_mode_value; |
| 546 | int86 (0x10, ®s, ®s); | 546 | int86 (0x10, ®s, ®s); |
| @@ -746,7 +746,7 @@ IT_set_cursor_type (struct frame *f, Lisp_Object cursor_type) | |||
| 746 | { | 746 | { |
| 747 | /* Feature: negative WIDTH means cursor at the top | 747 | /* Feature: negative WIDTH means cursor at the top |
| 748 | of the character cell, zero means invisible cursor. */ | 748 | of the character cell, zero means invisible cursor. */ |
| 749 | width = XINT (bar_parms); | 749 | width = XFIXNUM (bar_parms); |
| 750 | msdos_set_cursor_shape (f, width >= 0 ? DEFAULT_CURSOR_START : 0, | 750 | msdos_set_cursor_shape (f, width >= 0 ? DEFAULT_CURSOR_START : 0, |
| 751 | width); | 751 | width); |
| 752 | } | 752 | } |
| @@ -754,9 +754,9 @@ IT_set_cursor_type (struct frame *f, Lisp_Object cursor_type) | |||
| 754 | && FIXNUMP (XCAR (bar_parms)) | 754 | && FIXNUMP (XCAR (bar_parms)) |
| 755 | && FIXNUMP (XCDR (bar_parms))) | 755 | && FIXNUMP (XCDR (bar_parms))) |
| 756 | { | 756 | { |
| 757 | int start_line = XINT (XCDR (bar_parms)); | 757 | int start_line = XFIXNUM (XCDR (bar_parms)); |
| 758 | 758 | ||
| 759 | width = XINT (XCAR (bar_parms)); | 759 | width = XFIXNUM (XCAR (bar_parms)); |
| 760 | msdos_set_cursor_shape (f, start_line, width); | 760 | msdos_set_cursor_shape (f, start_line, width); |
| 761 | } | 761 | } |
| 762 | } | 762 | } |
| @@ -1564,7 +1564,7 @@ void | |||
| 1564 | IT_set_frame_parameters (struct frame *f, Lisp_Object alist) | 1564 | IT_set_frame_parameters (struct frame *f, Lisp_Object alist) |
| 1565 | { | 1565 | { |
| 1566 | Lisp_Object tail; | 1566 | Lisp_Object tail; |
| 1567 | int i, j, length = XINT (Flength (alist)); | 1567 | int i, j, length = XFIXNUM (Flength (alist)); |
| 1568 | Lisp_Object *parms | 1568 | Lisp_Object *parms |
| 1569 | = (Lisp_Object *) alloca (length * word_size); | 1569 | = (Lisp_Object *) alloca (length * word_size); |
| 1570 | Lisp_Object *values | 1570 | Lisp_Object *values |