diff options
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/src/lisp.h b/src/lisp.h index 3a473a60b48..7a23ba6165f 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -25,6 +25,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 25 | #include <stdarg.h> | 25 | #include <stdarg.h> |
| 26 | #include <stdbool.h> | 26 | #include <stdbool.h> |
| 27 | #include <stddef.h> | 27 | #include <stddef.h> |
| 28 | #include <float.h> | ||
| 28 | #include <inttypes.h> | 29 | #include <inttypes.h> |
| 29 | #include <limits.h> | 30 | #include <limits.h> |
| 30 | 31 | ||
| @@ -1487,6 +1488,16 @@ struct Lisp_Float | |||
| 1487 | #define XFLOAT_DATA(f) (0 ? XFLOAT (f)->u.data : XFLOAT (f)->u.data) | 1488 | #define XFLOAT_DATA(f) (0 ? XFLOAT (f)->u.data : XFLOAT (f)->u.data) |
| 1488 | #define XFLOAT_INIT(f, n) (XFLOAT (f)->u.data = (n)) | 1489 | #define XFLOAT_INIT(f, n) (XFLOAT (f)->u.data = (n)) |
| 1489 | 1490 | ||
| 1491 | /* Most hosts nowadays use IEEE floating point, so they use IEC 60559 | ||
| 1492 | representations, have infinities and NaNs, and do not trap on | ||
| 1493 | exceptions. Define IEEE_FLOATING_POINT if this host is one of the | ||
| 1494 | typical ones. The C11 macro __STDC_IEC_559__ is close to what is | ||
| 1495 | wanted here, but is not quite right because Emacs does not require | ||
| 1496 | all the features of C11 Annex F (and does not require C11 at all, | ||
| 1497 | for that matter). */ | ||
| 1498 | #define IEEE_FLOATING_POINT (FLT_RADIX == 2 && FLT_MANT_DIG == 24 \ | ||
| 1499 | && FLT_MIN_EXP == -125 && FLT_MAX_EXP == 128) | ||
| 1500 | |||
| 1490 | /* A character, declared with the following typedef, is a member | 1501 | /* A character, declared with the following typedef, is a member |
| 1491 | of some character set associated with the current buffer. */ | 1502 | of some character set associated with the current buffer. */ |
| 1492 | #ifndef _UCHAR_T /* Protect against something in ctab.h on AIX. */ | 1503 | #ifndef _UCHAR_T /* Protect against something in ctab.h on AIX. */ |
| @@ -2108,7 +2119,7 @@ extern char *stack_bottom; | |||
| 2108 | a request to exit Emacs when it is safe to do. */ | 2119 | a request to exit Emacs when it is safe to do. */ |
| 2109 | 2120 | ||
| 2110 | extern void process_pending_signals (void); | 2121 | extern void process_pending_signals (void); |
| 2111 | extern int pending_signals; | 2122 | extern int volatile pending_signals; |
| 2112 | 2123 | ||
| 2113 | extern void process_quit_flag (void); | 2124 | extern void process_quit_flag (void); |
| 2114 | #define QUIT \ | 2125 | #define QUIT \ |
| @@ -2633,7 +2644,6 @@ extern _Noreturn Lisp_Object wrong_type_argument (Lisp_Object, Lisp_Object); | |||
| 2633 | extern Lisp_Object do_symval_forwarding (union Lisp_Fwd *); | 2644 | extern Lisp_Object do_symval_forwarding (union Lisp_Fwd *); |
| 2634 | extern void set_internal (Lisp_Object, Lisp_Object, Lisp_Object, bool); | 2645 | extern void set_internal (Lisp_Object, Lisp_Object, Lisp_Object, bool); |
| 2635 | extern void syms_of_data (void); | 2646 | extern void syms_of_data (void); |
| 2636 | extern void init_data (void); | ||
| 2637 | extern void swap_in_global_binding (struct Lisp_Symbol *); | 2647 | extern void swap_in_global_binding (struct Lisp_Symbol *); |
| 2638 | 2648 | ||
| 2639 | /* Defined in cmds.c */ | 2649 | /* Defined in cmds.c */ |
| @@ -3227,6 +3237,9 @@ extern int input_pending; | |||
| 3227 | extern Lisp_Object menu_bar_items (Lisp_Object); | 3237 | extern Lisp_Object menu_bar_items (Lisp_Object); |
| 3228 | extern Lisp_Object tool_bar_items (Lisp_Object, int *); | 3238 | extern Lisp_Object tool_bar_items (Lisp_Object, int *); |
| 3229 | extern void discard_mouse_events (void); | 3239 | extern void discard_mouse_events (void); |
| 3240 | #ifdef USABLE_SIGIO | ||
| 3241 | void handle_input_available_signal (int); | ||
| 3242 | #endif | ||
| 3230 | extern Lisp_Object pending_funcalls; | 3243 | extern Lisp_Object pending_funcalls; |
| 3231 | extern int detect_input_pending (void); | 3244 | extern int detect_input_pending (void); |
| 3232 | extern int detect_input_pending_ignore_squeezables (void); | 3245 | extern int detect_input_pending_ignore_squeezables (void); |
| @@ -3269,7 +3282,7 @@ extern bool display_arg; | |||
| 3269 | extern Lisp_Object decode_env_path (const char *, const char *); | 3282 | extern Lisp_Object decode_env_path (const char *, const char *); |
| 3270 | extern Lisp_Object empty_unibyte_string, empty_multibyte_string; | 3283 | extern Lisp_Object empty_unibyte_string, empty_multibyte_string; |
| 3271 | extern Lisp_Object Qfile_name_handler_alist; | 3284 | extern Lisp_Object Qfile_name_handler_alist; |
| 3272 | extern _Noreturn void fatal_error_backtrace (int, int); | 3285 | extern _Noreturn void terminate_due_to_signal (int, int); |
| 3273 | extern Lisp_Object Qkill_emacs; | 3286 | extern Lisp_Object Qkill_emacs; |
| 3274 | #if HAVE_SETLOCALE | 3287 | #if HAVE_SETLOCALE |
| 3275 | void fixup_locale (void); | 3288 | void fixup_locale (void); |
| @@ -3320,6 +3333,7 @@ extern int wait_reading_process_output (intmax_t, int, int, int, | |||
| 3320 | #endif | 3333 | #endif |
| 3321 | extern void add_keyboard_wait_descriptor (int); | 3334 | extern void add_keyboard_wait_descriptor (int); |
| 3322 | extern void delete_keyboard_wait_descriptor (int); | 3335 | extern void delete_keyboard_wait_descriptor (int); |
| 3336 | extern void record_child_status_change (pid_t, int); | ||
| 3323 | #ifdef HAVE_GPM | 3337 | #ifdef HAVE_GPM |
| 3324 | extern void add_gpm_wait_descriptor (int); | 3338 | extern void add_gpm_wait_descriptor (int); |
| 3325 | extern void delete_gpm_wait_descriptor (int); | 3339 | extern void delete_gpm_wait_descriptor (int); |