summaryrefslogtreecommitdiff
path: root/src/dispextern.h
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2010-09-24 13:48:10 -0400
committerEli Zaretskii <eliz@gnu.org>2010-09-24 13:48:10 -0400
commitace1712c7feb83cc6b03d31b7a8b0439b83b7212 (patch)
tree8fb7f4713b4b14fc09f71d7f0c49274c4492a511 /src/dispextern.h
parent4f3a2f8d41f3a1e2be27921e8271c5fdb78e6d98 (diff)
downloademacs-ace1712c7feb83cc6b03d31b7a8b0439b83b7212.tar.gz
Fix int/EMACS_INT use in ccl.c, cmds.c, data.c, dispnew.c.
keyboard.c (make_lispy_position): Use EMACS_INT for buffer positions. xdisp.c (redisplay_internal, try_window_id) (set_cursor_from_row, find_first_unchanged_at_end_row): Use EMACS_INT for buffer positions. dispextern.h (set_cursor_from_row, mode_line_string) (marginal_area_string): Adjust prototypes. dispnew.c (increment_matrix_positions) (increment_row_positions, copy_glyph_row_contents) (mode_line_string, marginal_area_string): Use EMACS_INT for buffer positions. dispextern.h (mode_line_string, marginal_area_string) (increment_matrix_positions, increment_row_positions): Adjust prototypes. data.c (Faref, Faset): Use EMACS_INT for string length and positions. cmds.c (internal_self_insert): Use EMACS_INT for the count of characters to insert. ccl.c (Fccl_execute_on_string): Use EMACS_INT for string position and size.
Diffstat (limited to 'src/dispextern.h')
-rw-r--r--src/dispextern.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index e4c13b58ce4..c23c1b673ad 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -2929,7 +2929,8 @@ void remember_mouse_glyph (struct frame *, int, int, NativeRectangle *);
void mark_window_display_accurate (Lisp_Object, int);
void redisplay_preserve_echo_area (int);
int set_cursor_from_row (struct window *, struct glyph_row *,
- struct glyph_matrix *, int, int, int, int);
+ struct glyph_matrix *, EMACS_INT, EMACS_INT,
+ int, int);
void init_iterator (struct it *, struct window *, EMACS_INT,
EMACS_INT, struct glyph_row *, enum face_id);
void init_iterator_to_row_start (struct it *, struct window *,
@@ -3209,11 +3210,11 @@ extern Lisp_Object buffer_posn_from_coords (struct window *,
Lisp_Object *,
int *, int *, int *, int *);
extern Lisp_Object mode_line_string (struct window *, enum window_part,
- int *, int *, int *,
+ int *, int *, EMACS_INT *,
Lisp_Object *,
int *, int *, int *, int *);
extern Lisp_Object marginal_area_string (struct window *, enum window_part,
- int *, int *, int *,
+ int *, int *, EMACS_INT *,
Lisp_Object *,
int *, int *, int *, int *);
extern void redraw_frame (struct frame *);
@@ -3236,9 +3237,9 @@ void shift_glyph_matrix (struct window *, struct glyph_matrix *,
int, int, int);
void rotate_matrix (struct glyph_matrix *, int, int, int);
void increment_matrix_positions (struct glyph_matrix *,
- int, int, int, int);
+ int, int, EMACS_INT, EMACS_INT);
void blank_row (struct window *, struct glyph_row *, int);
-void increment_row_positions (struct glyph_row *, int, int);
+void increment_row_positions (struct glyph_row *, EMACS_INT, EMACS_INT);
void enable_glyph_matrix_rows (struct glyph_matrix *, int, int, int);
void clear_glyph_row (struct glyph_row *);
void prepare_desired_row (struct glyph_row *);