X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/2573a8376a387d19af355f68622512ac3e07d57a..f8643a6b9e35af22b69a84f83df5d9410de82f16:/src/keyboard.h diff --git a/src/keyboard.h b/src/keyboard.h index 69c804c873..752064a612 100644 --- a/src/keyboard.h +++ b/src/keyboard.h @@ -1,5 +1,5 @@ /* 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. @@ -202,7 +202,7 @@ extern int poll_suppress_count; sequence; this_command_key_count indicates how many elements actually mean something. */ extern Lisp_Object this_command_keys; -extern int this_command_key_count; +extern ptrdiff_t this_command_key_count; /* The frame in which the last input event occurred, or Qmacro if the last event came from a macro. We use this to determine when to @@ -440,7 +440,7 @@ struct input_event; 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); @@ -487,7 +487,7 @@ extern int input_polling_used (void); extern void clear_input_pending (void); extern int requeued_events_pending_p (void); extern void bind_polling_period (int); -extern int make_ctrl_char (int); +extern int make_ctrl_char (int) ATTRIBUTE_CONST; extern void stuff_buffered_input (Lisp_Object); extern void clear_waiting_for_input (void); extern void swallow_events (int); @@ -500,7 +500,7 @@ extern void poll_for_input_1 (void); extern void show_help_echo (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object); extern void gen_help_event (Lisp_Object, Lisp_Object, Lisp_Object, - Lisp_Object, EMACS_INT); + Lisp_Object, ptrdiff_t); extern void kbd_buffer_store_help_event (Lisp_Object, Lisp_Object); extern Lisp_Object menu_item_eval_property (Lisp_Object); extern int kbd_buffer_events_waiting (int);