comparison src/blockinput.h @ 55658:0e26a0be1ee5

(INPUT_BLOCKED_P): New macro.
author Kim F. Storm <storm@cua.dk>
date Mon, 17 May 2004 23:06:16 +0000
parents 695cf19ef79e
children 5407da499273
comparison
equal deleted inserted replaced
55657:0bb4e9bca69b 55658:0e26a0be1ee5
95 while (0) 95 while (0)
96 96
97 #define TOTALLY_UNBLOCK_INPUT (interrupt_input_blocked = 0) 97 #define TOTALLY_UNBLOCK_INPUT (interrupt_input_blocked = 0)
98 #define UNBLOCK_INPUT_RESIGNAL UNBLOCK_INPUT 98 #define UNBLOCK_INPUT_RESIGNAL UNBLOCK_INPUT
99 99
100 /* In critical section ? */
101 #define INPUT_BLOCKED_P (interrupt_input_blocked > 0)
102
100 /* Defined in keyboard.c */ 103 /* Defined in keyboard.c */
101 /* Don't use a prototype here; it causes trouble in some files. */ 104 /* Don't use a prototype here; it causes trouble in some files. */
102 extern void reinvoke_input_signal (); 105 extern void reinvoke_input_signal ();
103 106
104 #endif /* EMACS_BLOCKINPUT_H */ 107 #endif /* EMACS_BLOCKINPUT_H */