comparison src/events.c @ 5935:d5eb0914ca1f cygwin

trial of E1 and UE1
author Henry Thompson <ht@markup.co.uk>
date Sat, 12 Dec 2015 21:49:31 +0000
parents e2fae7783046
children
comparison
equal deleted inserted replaced
5934:e2fae7783046 5935:d5eb0914ca1f
1764 doesn't work on builds that don't support bignums. 1764 doesn't work on builds that don't support bignums.
1765 */ 1765 */
1766 return make_fixnum (MOST_POSITIVE_FIXNUM & XEVENT_TIMESTAMP (event)); 1766 return make_fixnum (MOST_POSITIVE_FIXNUM & XEVENT_TIMESTAMP (event));
1767 } 1767 }
1768 1768
1769 #define TIMESTAMP_HALFSPACE ((EMACS_INT)1 << (FIXNUM_VALBITS - 2)) 1769 #define TIMESTAMP_HALFSPACE (E1 << (FIXNUM_VALBITS - 2))
1770 1770
1771 DEFUN ("event-timestamp<", Fevent_timestamp_lessp, 2, 2, 0, /* 1771 DEFUN ("event-timestamp<", Fevent_timestamp_lessp, 2, 2, 0, /*
1772 Return true if timestamp TIME1 is earlier than timestamp TIME2. 1772 Return true if timestamp TIME1 is earlier than timestamp TIME2.
1773 This correctly handles timestamp wrap. 1773 This correctly handles timestamp wrap.
1774 See also `event-timestamp' and `current-event-timestamp'. 1774 See also `event-timestamp' and `current-event-timestamp'.