aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2004-05-17 23:06:16 +0000
committerKim F. Storm2004-05-17 23:06:16 +0000
commitc2de28efe240194415d3030908ef24b383530689 (patch)
tree626564690e89758add62c8d5ee60184981183fb2
parent89d199887d412595cfacd166cb6ac33a5bfbf4d6 (diff)
downloademacs-c2de28efe240194415d3030908ef24b383530689.tar.gz
emacs-c2de28efe240194415d3030908ef24b383530689.zip
(INPUT_BLOCKED_P): New macro.
-rw-r--r--src/blockinput.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blockinput.h b/src/blockinput.h
index eba192c9863..e9f2f3bc217 100644
--- a/src/blockinput.h
+++ b/src/blockinput.h
@@ -97,6 +97,9 @@ extern int pending_atimers;
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. */
102extern void reinvoke_input_signal (); 105extern void reinvoke_input_signal ();