diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 10 | ||||
| -rw-r--r-- | src/dispextern.h | 18 |
2 files changed, 19 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 63338b0880e..5e44bdf6ec8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2009-12-12 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * dispextern.h (struct text_pos): Use EMACS_INT; | ||
| 4 | (struct glyph): Use EMACS_INT for charpos. | ||
| 5 | (struct it): Use EMACS_INT for stop_charpos, end_charpos, | ||
| 6 | region_beg_charpos, region_end_charpos, | ||
| 7 | redisplay_end_trigger_charpos, and also for | ||
| 8 | iterator_stack_entry.end_charpos and | ||
| 9 | iterator_stack_entry.stop_charpos. | ||
| 10 | |||
| 1 | 2009-12-12 Jan Djärv <jan.h.d@swipnet.se> | 11 | 2009-12-12 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 12 | ||
| 3 | * gtkutil.c (scroll_end_callback): New function (bug #5177) | 13 | * gtkutil.c (scroll_end_callback): New function (bug #5177) |
diff --git a/src/dispextern.h b/src/dispextern.h index 852e56a7aa1..f28cae6d8b3 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -173,10 +173,10 @@ extern int trace_redisplay_p; | |||
| 173 | struct text_pos | 173 | struct text_pos |
| 174 | { | 174 | { |
| 175 | /* Character position. */ | 175 | /* Character position. */ |
| 176 | int charpos; | 176 | EMACS_INT charpos; |
| 177 | 177 | ||
| 178 | /* Corresponding byte position. */ | 178 | /* Corresponding byte position. */ |
| 179 | int bytepos; | 179 | EMACS_INT bytepos; |
| 180 | }; | 180 | }; |
| 181 | 181 | ||
| 182 | /* Access character and byte position of POS in a functional form. */ | 182 | /* Access character and byte position of POS in a functional form. */ |
| @@ -311,7 +311,7 @@ struct glyph | |||
| 311 | buffer, this is a position in that buffer. A value of -1 | 311 | buffer, this is a position in that buffer. A value of -1 |
| 312 | together with a null object means glyph is a truncation glyph at | 312 | together with a null object means glyph is a truncation glyph at |
| 313 | the start of a row. */ | 313 | the start of a row. */ |
| 314 | int charpos; | 314 | EMACS_INT charpos; |
| 315 | 315 | ||
| 316 | /* Lisp object source of this glyph. Currently either a buffer or | 316 | /* Lisp object source of this glyph. Currently either a buffer or |
| 317 | a string, if the glyph was produced from characters which came from | 317 | a string, if the glyph was produced from characters which came from |
| @@ -1900,11 +1900,11 @@ struct it | |||
| 1900 | 1900 | ||
| 1901 | /* The next position at which to check for face changes, invisible | 1901 | /* The next position at which to check for face changes, invisible |
| 1902 | text, overlay strings, end of text etc., which see. */ | 1902 | text, overlay strings, end of text etc., which see. */ |
| 1903 | int stop_charpos; | 1903 | EMACS_INT stop_charpos; |
| 1904 | 1904 | ||
| 1905 | /* Maximum string or buffer position + 1. ZV when iterating over | 1905 | /* Maximum string or buffer position + 1. ZV when iterating over |
| 1906 | current_buffer. */ | 1906 | current_buffer. */ |
| 1907 | int end_charpos; | 1907 | EMACS_INT end_charpos; |
| 1908 | 1908 | ||
| 1909 | /* C string to iterate over. Non-null means get characters from | 1909 | /* C string to iterate over. Non-null means get characters from |
| 1910 | this string, otherwise characters are read from current_buffer | 1910 | this string, otherwise characters are read from current_buffer |
| @@ -1917,10 +1917,10 @@ struct it | |||
| 1917 | 1917 | ||
| 1918 | /* Start and end of a visible region; -1 if the region is not | 1918 | /* Start and end of a visible region; -1 if the region is not |
| 1919 | visible in the window. */ | 1919 | visible in the window. */ |
| 1920 | int region_beg_charpos, region_end_charpos; | 1920 | EMACS_INT region_beg_charpos, region_end_charpos; |
| 1921 | 1921 | ||
| 1922 | /* Position at which redisplay end trigger functions should be run. */ | 1922 | /* Position at which redisplay end trigger functions should be run. */ |
| 1923 | int redisplay_end_trigger_charpos; | 1923 | EMACS_INT redisplay_end_trigger_charpos; |
| 1924 | 1924 | ||
| 1925 | /* 1 means multibyte characters are enabled. */ | 1925 | /* 1 means multibyte characters are enabled. */ |
| 1926 | unsigned multibyte_p : 1; | 1926 | unsigned multibyte_p : 1; |
| @@ -2006,8 +2006,8 @@ struct it | |||
| 2006 | { | 2006 | { |
| 2007 | Lisp_Object string; | 2007 | Lisp_Object string; |
| 2008 | int string_nchars; | 2008 | int string_nchars; |
| 2009 | int end_charpos; | 2009 | EMACS_INT end_charpos; |
| 2010 | int stop_charpos; | 2010 | EMACS_INT stop_charpos; |
| 2011 | struct composition_it cmp_it; | 2011 | struct composition_it cmp_it; |
| 2012 | int face_id; | 2012 | int face_id; |
| 2013 | 2013 | ||