comparison src/dispextern.h @ 110645:7d7a02c19d8c

Fix int/EMACS_INT use in xdisp.c and print.c. print.c (print_object): Fix format string and argument types for printing a Lisp_Misc_Marker. xdisp.c (pos_visible_p, c_string_pos, number_of_chars) (load_overlay_strings, get_overlay_strings_1) (get_overlay_strings, forward_to_next_line_start) (back_to_previous_visible_line_start, reseat, reseat_to_string) (get_next_display_element, next_element_from_string) (next_element_from_c_string, next_element_from_buffer) (move_it_vertically_backward, move_it_by_lines, add_to_log) (message_dolog, message_log_check_duplicate, message2_nolog) (message3, message3_nolog, vmessage, set_message, set_message_1) (hscroll_window_tree, text_outside_line_unchanged_p) (set_cursor_from_row, set_vertical_scroll_bar, redisplay_window) (find_last_unchanged_at_beg_row) (find_first_unchanged_at_end_row, row_containing_pos) (trailing_whitespace_p, display_mode_element, decode_mode_spec) (display_count_lines, x_produce_glyphs, note_mouse_highlight): Use EMACS_INT for buffer and string positions. dispextern.h (struct it) <string_nchars>: Declare EMACS_INT. (row_containing_pos): Adjust prototype. lisp.h (pos_visible_p, message2, message2_nolog, message3) (message2_nolog, set_message): Adjust prototypes.
author Eli Zaretskii <eliz@gnu.org>
date Wed, 29 Sep 2010 05:06:53 -0400
parents 0e84d4500f6b
children 24c75a5f002a e302712538dc
comparison
equal deleted inserted replaced
110644:22d8ea06b8c7 110645:7d7a02c19d8c
2065 or it->string. */ 2065 or it->string. */
2066 const unsigned char *s; 2066 const unsigned char *s;
2067 2067
2068 /* Number of characters in the string (s, or it->string) we iterate 2068 /* Number of characters in the string (s, or it->string) we iterate
2069 over. */ 2069 over. */
2070 int string_nchars; 2070 EMACS_INT string_nchars;
2071 2071
2072 /* Start and end of a visible region; -1 if the region is not 2072 /* Start and end of a visible region; -1 if the region is not
2073 visible in the window. */ 2073 visible in the window. */
2074 EMACS_INT region_beg_charpos, region_end_charpos; 2074 EMACS_INT region_beg_charpos, region_end_charpos;
2075 2075
2912 extern void bidi_paragraph_init (bidi_dir_t, struct bidi_it *, int); 2912 extern void bidi_paragraph_init (bidi_dir_t, struct bidi_it *, int);
2913 extern int bidi_mirror_char (int); 2913 extern int bidi_mirror_char (int);
2914 2914
2915 /* Defined in xdisp.c */ 2915 /* Defined in xdisp.c */
2916 2916
2917 struct glyph_row *row_containing_pos (struct window *, int, 2917 struct glyph_row *row_containing_pos (struct window *, EMACS_INT,
2918 struct glyph_row *, 2918 struct glyph_row *,
2919 struct glyph_row *, int); 2919 struct glyph_row *, int);
2920 EMACS_INT string_buffer_position (struct window *, Lisp_Object, 2920 EMACS_INT string_buffer_position (struct window *, Lisp_Object,
2921 EMACS_INT); 2921 EMACS_INT);
2922 int line_bottom_y (struct it *); 2922 int line_bottom_y (struct it *);