/* Declarations useful when processing input.
- Copyright (C) 1985-1987, 1993, 2001-2011 Free Software Foundation, Inc.
+ Copyright (C) 1985-1987, 1993, 2001-2012 Free Software Foundation, Inc.
This file is part of GNU Emacs.
Lisp_Object *kbd_macro_end;
/* Allocated size of kbd_macro_buffer. */
- int kbd_macro_bufsize;
+ ptrdiff_t kbd_macro_bufsize;
/* Last anonymous kbd macro defined. */
Lisp_Object KBOARD_INTERNAL_FIELD (Vlast_kbd_macro);
/* A list of all kboard objects, linked through next_kboard. */
extern KBOARD *all_kboards;
\f
-/* Total number of times read_char has returned, modulo SIZE_MAX + 1. */
-extern size_t num_input_events;
+/* Total number of times read_char has returned, modulo UINTMAX_MAX + 1. */
+extern uintmax_t num_input_events;
/* Nonzero means polling for input is temporarily suppressed. */
extern int poll_suppress_count;
/* If non-nil, means that the global vars defined here are already in use.
Used to detect cases where we try to re-enter this non-reentrant code. */
+#if defined USE_GTK || defined USE_MOTIF
extern Lisp_Object menu_items_inuse;
+#endif
/* Number of slots currently allocated in menu_items. */
extern int menu_items_allocated;
extern Lisp_Object parse_modifiers (Lisp_Object);
extern Lisp_Object reorder_modifiers (Lisp_Object);
-extern Lisp_Object read_char (int, int, Lisp_Object *, Lisp_Object,
+extern Lisp_Object read_char (int, ptrdiff_t, Lisp_Object *, Lisp_Object,
int *, EMACS_TIME *);
extern int parse_solitary_modifier (Lisp_Object symbol);