aboutsummaryrefslogtreecommitdiffstats
path: root/src/composite.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/composite.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/composite.h')
-rw-r--r--src/composite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/composite.h b/src/composite.h
index 157d90caf05..5c8ade39596 100644
--- a/src/composite.h
+++ b/src/composite.h
@@ -320,7 +320,7 @@ extern int composition_reseat_it (struct composition_it *,
320extern int composition_update_it (struct composition_it *, 320extern int composition_update_it (struct composition_it *,
321 EMACS_INT, EMACS_INT, Lisp_Object); 321 EMACS_INT, EMACS_INT, Lisp_Object);
322 322
323extern int composition_adjust_point (EMACS_INT, EMACS_INT); 323extern EMACS_INT composition_adjust_point (EMACS_INT, EMACS_INT);
324 324
325EXFUN (Fcompose_region_internal, 4); 325EXFUN (Fcompose_region_internal, 4);
326EXFUN (Fcompose_string_internal, 5); 326EXFUN (Fcompose_string_internal, 5);