summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2003-07-08 21:45:35 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2003-07-08 21:45:35 +0000
commit58c8ea37643f0797b6d872f3aaa8ef1f0dc971ec (patch)
treeda54be8bae88a1e10264b9d78529a05c3a64cda2 /src/buffer.h
parentb19a5b649a7a2c36d5147750670cee1c834ce42e (diff)
downloademacs-58c8ea37643f0797b6d872f3aaa8ef1f0dc971ec.tar.gz
(struct buffer): Use an int for overlay_center.
(overlays_at, evaporate_overlays, recenter_overlay_lists) (overlay_strings, fix_overlays_before): Use EMACS_INT for positions.
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 41e9a4581f1..6f25891ca6f 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -531,6 +531,9 @@ struct buffer
displaying this buffer. */
unsigned prevent_redisplay_optimizations_p : 1;
+ /* Position where the overlay lists are centered. */
+ EMACS_INT overlay_center;
+
/* Everything from here down must be a Lisp_Object. */
/* The name of this buffer. */
@@ -652,9 +655,6 @@ struct buffer
in order of start-position. */
Lisp_Object overlays_after;
- /* Position where the overlay lists are centered. */
- Lisp_Object overlay_center;
-
/* Non-nil means the buffer contents are regarded as multi-byte
form of characters, not a binary code. */
Lisp_Object enable_multibyte_characters;
@@ -805,18 +805,18 @@ extern struct buffer buffer_local_symbols;
extern struct buffer buffer_local_types;
extern void reset_buffer P_ ((struct buffer *));
-extern void evaporate_overlays P_ ((int));
-extern int overlays_at P_ ((int, int, Lisp_Object **, int *, int *, int *, int));
+extern void evaporate_overlays P_ ((EMACS_INT));
+extern int overlays_at P_ ((EMACS_INT, int, Lisp_Object **, int *, int *, int *, int));
extern int sort_overlays P_ ((Lisp_Object *, int, struct window *));
-extern void recenter_overlay_lists P_ ((struct buffer *, int));
-extern int overlay_strings P_ ((int, struct window *, unsigned char **));
+extern void recenter_overlay_lists P_ ((struct buffer *, EMACS_INT));
+extern int overlay_strings P_ ((EMACS_INT, struct window *, unsigned char **));
extern void validate_region P_ ((Lisp_Object *, Lisp_Object *));
extern void set_buffer_internal P_ ((struct buffer *));
extern void set_buffer_internal_1 P_ ((struct buffer *));
extern void set_buffer_temp P_ ((struct buffer *));
extern void record_buffer P_ ((Lisp_Object));
extern void buffer_slot_type_mismatch P_ ((int));
-extern void fix_overlays_before P_ ((struct buffer *, int, int));
+extern void fix_overlays_before P_ ((struct buffer *, EMACS_INT, EMACS_INT));
extern void mmap_set_vars P_ ((int));
EXFUN (Fbuffer_name, 1);