Mercurial > emacs
comparison src/character.h @ 110504:0fdd992ff057
Fix more uses of int instead of EMACS_INT.
xdisp.c (check_point_in_composition, reconsider_clip_changes):
Use EMACS_INT for buffer position variables and arguments.
composite.c (get_composition_id, find_composition)
(run_composition_function, compose_text)
(composition_gstring_width, autocmp_chars)
(composition_update_it, Ffind_composition_internal): Use EMACS_INT
for buffer positions and string length variables and arguments.
composite.h (get_composition_id, find_composition, compose_text)
(composition_gstring_width): Adjust prototypes.
editfns.c (Fformat): Use EMACS_INT for string size variables.
xdisp.c (store_mode_line_noprop, display_mode_element): Use
EMACS_INT for string positions.
intervals.c (get_property_and_range): Use EMACS_INT for buffer
position arguments.
intervals.h (get_property_and_range): Adjust prototype.
character.c (parse_str_as_multibyte, str_as_multibyte)
(parse_str_to_multibyte, str_to_multibyte, str_as_unibyte)
(string_count_byte8, string_escape_byte8, c_string_width)
(strwidth, lisp_string_width, multibyte_chars_in_text): Use
EMACS_INT for string length variables and arguments.
(string_escape_byte8): Protect against too long strings.
character.h (parse_str_as_multibyte, str_as_multibyte)
(parse_str_to_multibyte, str_to_multibyte, str_as_unibyte)
(c_string_width, strwidth, lisp_string_width): Adjust
prototypes.
lisp.h (check_point_in_composition): Adjust prototype.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Thu, 23 Sep 2010 10:32:38 -0400 |
parents | fda36a325177 |
children | 417b1e4d63cd |
comparison
equal
deleted
inserted
replaced
110503:fda36a325177 | 110504:0fdd992ff057 |
---|---|
610 EMACS_INT *); | 610 EMACS_INT *); |
611 extern EMACS_INT str_to_multibyte (unsigned char *, EMACS_INT, EMACS_INT); | 611 extern EMACS_INT str_to_multibyte (unsigned char *, EMACS_INT, EMACS_INT); |
612 extern EMACS_INT str_as_unibyte (unsigned char *, EMACS_INT); | 612 extern EMACS_INT str_as_unibyte (unsigned char *, EMACS_INT); |
613 extern EMACS_INT str_to_unibyte (const unsigned char *, unsigned char *, | 613 extern EMACS_INT str_to_unibyte (const unsigned char *, unsigned char *, |
614 EMACS_INT, int); | 614 EMACS_INT, int); |
615 extern int strwidth (const unsigned char *, int); | 615 extern EMACS_INT strwidth (const unsigned char *, EMACS_INT); |
616 extern int c_string_width (const unsigned char *, int, int, int *, int *); | 616 extern EMACS_INT c_string_width (const unsigned char *, EMACS_INT, int, |
617 extern int lisp_string_width (Lisp_Object, int, int *, int *); | 617 EMACS_INT *, EMACS_INT *); |
618 extern EMACS_INT lisp_string_width (Lisp_Object, int, | |
619 EMACS_INT *, EMACS_INT *); | |
618 | 620 |
619 extern Lisp_Object Vprintable_chars; | 621 extern Lisp_Object Vprintable_chars; |
620 | 622 |
621 extern Lisp_Object Qcharacterp, Qauto_fill_chars; | 623 extern Lisp_Object Qcharacterp, Qauto_fill_chars; |
622 extern Lisp_Object Vtranslation_table_vector; | 624 extern Lisp_Object Vtranslation_table_vector; |