comparison src/indent.h @ 84951:55a892948dea

* indent.h: * indent.c: Use EMACS_INT for ints coming from Elisp data.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 27 Sep 2007 18:49:57 +0000
parents 1677cf1c2509
children 107ccd98fa12 bdb3fe0ba9fa
comparison
equal deleted inserted replaced
84950:07824eca67a8 84951:55a892948dea
37 37
38 */ 38 */
39 39
40 struct position 40 struct position
41 { 41 {
42 int bufpos; 42 EMACS_INT bufpos;
43 int bytepos; 43 EMACS_INT bytepos;
44 int hpos; 44 EMACS_INT hpos;
45 int vpos; 45 EMACS_INT vpos;
46 int prevhpos; 46 EMACS_INT prevhpos;
47 int contin; 47 EMACS_INT contin;
48 /* Number of characters we have already handled 48 /* Number of characters we have already handled
49 from the before and after strings at this position. */ 49 from the before and after strings at this position. */
50 int ovstring_chars_done; 50 EMACS_INT ovstring_chars_done;
51 int tab_offset; 51 EMACS_INT tab_offset;
52 }; 52 };
53 53
54 struct position *compute_motion P_ ((int, int, int, int, int, int, int, 54 struct position *compute_motion P_ ((EMACS_INT from, EMACS_INT fromvpos,
55 int, int, int, struct window *)); 55 EMACS_INT fromhpos, int did_motion,
56 struct position *vmotion P_ ((int, int, struct window *)); 56 EMACS_INT to, EMACS_INT tovpos,
57 int skip_invisible P_ ((int, int *, int, Lisp_Object)); 57 EMACS_INT tohpos,
58 EMACS_INT width, EMACS_INT hscroll,
59 EMACS_INT tab_offset, struct window *));
60 struct position *vmotion P_ ((EMACS_INT from, EMACS_INT vtarget,
61 struct window *));
62 EMACS_INT skip_invisible P_ ((EMACS_INT pos, EMACS_INT *next_boundary_p,
63 EMACS_INT to, Lisp_Object window));
58 64
59 /* Value of point when current_column was called */ 65 /* Value of point when current_column was called */
60 extern int last_known_column_point; 66 extern EMACS_INT last_known_column_point;
61 67
62 /* Functions for dealing with the column cache. */ 68 /* Functions for dealing with the column cache. */
63 69
64 /* Return true if the display table DISPTAB specifies the same widths 70 /* Return true if the display table DISPTAB specifies the same widths
65 for characters as WIDTHTAB. We use this to decide when to 71 for characters as WIDTHTAB. We use this to decide when to