aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
diff options
context:
space:
mode:
authorTom Tromey2018-08-09 17:56:53 -0600
committerTom Tromey2018-08-09 17:56:53 -0600
commitaccb7b7ecc19f85c2750ded1046a464bc73c6a52 (patch)
tree1aa94af022d6700a93a8ff2b73f5b210046ac010 /src/lisp.h
parentf822a2516d88eeb2118fbbc8554f155e86dfd74e (diff)
parent53483df0de0085dbc9ef0b15a0f629ab808b0147 (diff)
downloademacs-accb7b7ecc19f85c2750ded1046a464bc73c6a52.tar.gz
emacs-accb7b7ecc19f85c2750ded1046a464bc73c6a52.zip
Merge remote-tracking branch 'origin/master' into feature/bignum
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 6726d69fced..6ca34168928 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -2704,17 +2704,14 @@ XFLOAT_DATA (Lisp_Object f)
2704 2704
2705/* Most hosts nowadays use IEEE floating point, so they use IEC 60559 2705/* Most hosts nowadays use IEEE floating point, so they use IEC 60559
2706 representations, have infinities and NaNs, and do not trap on 2706 representations, have infinities and NaNs, and do not trap on
2707 exceptions. Define IEEE_FLOATING_POINT if this host is one of the 2707 exceptions. Define IEEE_FLOATING_POINT to 1 if this host is one of the
2708 typical ones. The C11 macro __STDC_IEC_559__ is close to what is 2708 typical ones. The C11 macro __STDC_IEC_559__ is close to what is
2709 wanted here, but is not quite right because Emacs does not require 2709 wanted here, but is not quite right because Emacs does not require
2710 all the features of C11 Annex F (and does not require C11 at all, 2710 all the features of C11 Annex F (and does not require C11 at all,
2711 for that matter). */ 2711 for that matter). */
2712enum 2712
2713 { 2713#define IEEE_FLOATING_POINT (FLT_RADIX == 2 && FLT_MANT_DIG == 24 \
2714 IEEE_FLOATING_POINT 2714 && FLT_MIN_EXP == -125 && FLT_MAX_EXP == 128)
2715 = (FLT_RADIX == 2 && FLT_MANT_DIG == 24
2716 && FLT_MIN_EXP == -125 && FLT_MAX_EXP == 128)
2717 };
2718 2715
2719/* A character, declared with the following typedef, is a member 2716/* A character, declared with the following typedef, is a member
2720 of some character set associated with the current buffer. */ 2717 of some character set associated with the current buffer. */
@@ -4120,6 +4117,7 @@ extern Lisp_Object write_region (Lisp_Object, Lisp_Object, Lisp_Object,
4120extern void close_file_unwind (int); 4117extern void close_file_unwind (int);
4121extern void fclose_unwind (void *); 4118extern void fclose_unwind (void *);
4122extern void restore_point_unwind (Lisp_Object); 4119extern void restore_point_unwind (Lisp_Object);
4120extern Lisp_Object get_file_errno_data (const char *, Lisp_Object, int);
4123extern _Noreturn void report_file_errno (const char *, Lisp_Object, int); 4121extern _Noreturn void report_file_errno (const char *, Lisp_Object, int);
4124extern _Noreturn void report_file_error (const char *, Lisp_Object); 4122extern _Noreturn void report_file_error (const char *, Lisp_Object);
4125extern _Noreturn void report_file_notify_error (const char *, Lisp_Object); 4123extern _Noreturn void report_file_notify_error (const char *, Lisp_Object);
@@ -4803,7 +4801,7 @@ enum
4803#define FOR_EACH_TAIL(tail) \ 4801#define FOR_EACH_TAIL(tail) \
4804 FOR_EACH_TAIL_INTERNAL (tail, circular_list (tail), true) 4802 FOR_EACH_TAIL_INTERNAL (tail, circular_list (tail), true)
4805 4803
4806/* Like FOR_EACH_TAIL (LIST), except do not signal or quit. 4804/* Like FOR_EACH_TAIL (TAIL), except do not signal or quit.
4807 If the loop exits due to a cycle, TAIL’s value is undefined. */ 4805 If the loop exits due to a cycle, TAIL’s value is undefined. */
4808 4806
4809#define FOR_EACH_TAIL_SAFE(tail) \ 4807#define FOR_EACH_TAIL_SAFE(tail) \