[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/src dispextern.h
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs/src dispextern.h |
Date: |
Sat, 12 Dec 2009 13:40:44 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Eli Zaretskii <eliz> 09/12/12 13:40:43
Modified files:
src : dispextern.h
Log message:
(struct text_pos): Use EMACS_INT;
(struct glyph): Use EMACS_INT for charpos.
(struct it): Use EMACS_INT for stop_charpos, end_charpos,
region_beg_charpos,
region_end_charpos, redisplay_end_trigger_charpos, and also for
iterator_stack_entry.end_charpos and iterator_stack_entry.stop_charpos.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/dispextern.h?cvsroot=emacs&r1=1.267&r2=1.268
Patches:
Index: dispextern.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/dispextern.h,v
retrieving revision 1.267
retrieving revision 1.268
diff -u -b -r1.267 -r1.268
--- dispextern.h 4 Dec 2009 10:50:59 -0000 1.267
+++ dispextern.h 12 Dec 2009 13:40:43 -0000 1.268
@@ -173,10 +173,10 @@
struct text_pos
{
/* Character position. */
- int charpos;
+ EMACS_INT charpos;
/* Corresponding byte position. */
- int bytepos;
+ EMACS_INT bytepos;
};
/* Access character and byte position of POS in a functional form. */
@@ -311,7 +311,7 @@
buffer, this is a position in that buffer. A value of -1
together with a null object means glyph is a truncation glyph at
the start of a row. */
- int charpos;
+ EMACS_INT charpos;
/* Lisp object source of this glyph. Currently either a buffer or
a string, if the glyph was produced from characters which came from
@@ -1900,11 +1900,11 @@
/* The next position at which to check for face changes, invisible
text, overlay strings, end of text etc., which see. */
- int stop_charpos;
+ EMACS_INT stop_charpos;
/* Maximum string or buffer position + 1. ZV when iterating over
current_buffer. */
- int end_charpos;
+ EMACS_INT end_charpos;
/* C string to iterate over. Non-null means get characters from
this string, otherwise characters are read from current_buffer
@@ -1917,10 +1917,10 @@
/* Start and end of a visible region; -1 if the region is not
visible in the window. */
- int region_beg_charpos, region_end_charpos;
+ EMACS_INT region_beg_charpos, region_end_charpos;
/* Position at which redisplay end trigger functions should be run. */
- int redisplay_end_trigger_charpos;
+ EMACS_INT redisplay_end_trigger_charpos;
/* 1 means multibyte characters are enabled. */
unsigned multibyte_p : 1;
@@ -2006,8 +2006,8 @@
{
Lisp_Object string;
int string_nchars;
- int end_charpos;
- int stop_charpos;
+ EMACS_INT end_charpos;
+ EMACS_INT stop_charpos;
struct composition_it cmp_it;
int face_id;