diff options
author | Dave Love <fx@gnu.org> | 2003-09-17 13:50:54 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 2003-09-17 13:50:54 +0000 |
commit | aaefca9731ec68722f8de661b6acffb27e591d17 (patch) | |
tree | e161018bfbaabdde9426ba7c89879ebb6553deeb /src/composite.c | |
parent | 2f08449e640bd91d4a7519c8bcc60eb459d46ede (diff) | |
download | emacs-aaefca9731ec68722f8de661b6acffb27e591d17.tar.gz |
(find_composition, run_composition_function)
(update_compositions, Ffind_composition_internal): Make buffer
positions EMACS_INT.
Diffstat (limited to 'src/composite.c')
-rw-r--r-- | src/composite.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/composite.c b/src/composite.c index 43da8887176..17747d9e7c8 100644 --- a/src/composite.c +++ b/src/composite.c @@ -402,7 +402,8 @@ get_composition_id (charpos, bytepos, nchars, prop, string) int find_composition (pos, limit, start, end, prop, object) - int pos, limit, *start, *end; + int pos, limit; + EMACS_INT *start, *end; Lisp_Object *prop, object; { Lisp_Object val; @@ -446,7 +447,7 @@ run_composition_function (from, to, prop) Lisp_Object prop; { Lisp_Object func; - int start, end; + EMACS_INT start, end; func = COMPOSITION_MODIFICATION_FUNC (prop); /* If an invalid composition precedes or follows, try to make them @@ -476,13 +477,14 @@ run_composition_function (from, to, prop) void update_compositions (from, to, check_mask) - int from, to, check_mask; + EMACS_INT from, to; + int check_mask; { Lisp_Object prop; - int start, end; + EMACS_INT start, end; /* The beginning and end of the region to set the property `auto-composed' to nil. */ - int min_pos = from, max_pos = to; + EMACS_INT min_pos = from, max_pos = to; if (inhibit_modification_hooks) return; @@ -663,7 +665,7 @@ See `find-composition' for more detail. */) Lisp_Object pos, limit, string, detail_p; { Lisp_Object prop, tail; - int start, end; + EMACS_INT start, end; int id; CHECK_NUMBER_COERCE_MARKER (pos); |