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/kqueue.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/kqueue.c')
| -rw-r--r-- | src/kqueue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kqueue.c b/src/kqueue.c index b45c316b93b..bc01ab5062c 100644 --- a/src/kqueue.c +++ b/src/kqueue.c | |||
| @@ -234,7 +234,7 @@ kqueue_compare_dir_list (Lisp_Object watch_object) | |||
| 234 | 234 | ||
| 235 | /* Check size of that file. */ | 235 | /* Check size of that file. */ |
| 236 | Lisp_Object size = Fnth (make_fixnum (4), entry); | 236 | Lisp_Object size = Fnth (make_fixnum (4), entry); |
| 237 | if (FLOATP (size) || (XINT (size) > 0)) | 237 | if (FLOATP (size) || (XFIXNUM (size) > 0)) |
| 238 | kqueue_generate_event | 238 | kqueue_generate_event |
| 239 | (watch_object, Fcons (Qwrite, Qnil), XCAR (XCDR (entry)), Qnil); | 239 | (watch_object, Fcons (Qwrite, Qnil), XCAR (XCDR (entry)), Qnil); |
| 240 | 240 | ||
| @@ -395,7 +395,7 @@ only when the upper directory of the renamed file is watched. */) | |||
| 395 | maxfd = 256; | 395 | maxfd = 256; |
| 396 | 396 | ||
| 397 | /* We assume 50 file descriptors are sufficient for the rest of Emacs. */ | 397 | /* We assume 50 file descriptors are sufficient for the rest of Emacs. */ |
| 398 | if ((maxfd - 50) < XINT (Flength (watch_list))) | 398 | if ((maxfd - 50) < XFIXNUM (Flength (watch_list))) |
| 399 | xsignal2 | 399 | xsignal2 |
| 400 | (Qfile_notify_error, | 400 | (Qfile_notify_error, |
| 401 | build_string ("File watching not possible, no file descriptor left"), | 401 | build_string ("File watching not possible, no file descriptor left"), |
| @@ -474,7 +474,7 @@ WATCH-DESCRIPTOR should be an object returned by `kqueue-add-watch'. */) | |||
| 474 | watch_descriptor); | 474 | watch_descriptor); |
| 475 | 475 | ||
| 476 | eassert (FIXNUMP (watch_descriptor)); | 476 | eassert (FIXNUMP (watch_descriptor)); |
| 477 | int fd = XINT (watch_descriptor); | 477 | int fd = XFIXNUM (watch_descriptor); |
| 478 | if ( fd >= 0) | 478 | if ( fd >= 0) |
| 479 | emacs_close (fd); | 479 | emacs_close (fd); |
| 480 | 480 | ||