aboutsummaryrefslogtreecommitdiffstats
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorEli Zaretskii2010-09-25 05:36:36 -0400
committerEli Zaretskii2010-09-25 05:36:36 -0400
commit41118bd30dd303cf60a70990c5347a6cfdfca1ef (patch)
treea8161184b75d6d25b31578a78ef9fae56625fe74 /src/termhooks.h
parentf5276b757f179ca3a97565344072422da5697c68 (diff)
downloademacs-41118bd30dd303cf60a70990c5347a6cfdfca1ef.tar.gz
emacs-41118bd30dd303cf60a70990c5347a6cfdfca1ef.zip
Fix int/EMACS_INT use in keyboard.c.
keyboard.c <last_point_position, last_non_minibuf_size>: Declare EMACS_INT. (echo_truncate, adjust_point_for_property, read_char) (gen_help_event, make_lispy_event, modify_event_symbol) (Fexecute_extended_command, stuff_buffered_input): Use EMACS_INT for buffer positions and string length. keyboard.h (gen_help_event): Adjust prototype. termhooks.h <struct input_event>: Make `code' member EMACS_INT. commands.h <last_point_position>: Declare EMACS_INT. xdisp.c <help_echo_pos>: Define as EMACS_INT. (truncate_echo_area): Accept EMACS_INT argument. dispextern.h <help_echo_pos>: Declare EMACS_INT. lisp.h (truncate_echo_area): Adjust prototype. composite.c (composition_adjust_point): Return EMACS_INT. composite.h (composition_adjust_point): Adjust prototype.
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index 7762dd15efe..b16c36f9551 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -228,9 +228,11 @@ struct input_event
228 /* For an ASCII_KEYSTROKE_EVENT and MULTIBYTE_CHAR_KEYSTROKE_EVENT, 228 /* For an ASCII_KEYSTROKE_EVENT and MULTIBYTE_CHAR_KEYSTROKE_EVENT,
229 this is the character. 229 this is the character.
230 For a NON_ASCII_KEYSTROKE_EVENT, this is the keysym code. 230 For a NON_ASCII_KEYSTROKE_EVENT, this is the keysym code.
231 For a mouse event, this is the button number. */ 231 For a mouse event, this is the button number.
232 For a HELP_EVENT, this is the position within the object
233 (stored in ARG below) where the help was found. */
232 /* In WindowsNT, for a mouse wheel event, this is the delta. */ 234 /* In WindowsNT, for a mouse wheel event, this is the delta. */
233 int code; 235 EMACS_INT code;
234 enum scroll_bar_part part; 236 enum scroll_bar_part part;
235 237
236 int modifiers; /* See enum below for interpretation. */ 238 int modifiers; /* See enum below for interpretation. */