diff options
author | Eli Zaretskii <eliz@gnu.org> | 2010-09-24 11:24:47 -0400 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2010-09-24 11:24:47 -0400 |
commit | 4f3a2f8d41f3a1e2be27921e8271c5fdb78e6d98 (patch) | |
tree | 9afa3e5cda7d3f8505ca39f25d5004797b78c6f2 /src/syntax.h | |
parent | f0812d352e22fb610d5002a50827278fd271938c (diff) | |
download | emacs-4f3a2f8d41f3a1e2be27921e8271c5fdb78e6d98.tar.gz |
Fix int/EMACS_INT use in casefiddle.c and syntax.c.
syntax.c (scan_words, update_syntax_table)
(prev_char_comend_first, back_comment, skip_chars)
(skip_syntaxes, Fforward_comment, Fbackward_prefix_chars): Use
EMACS_INT for buffer and string positions.
syntax.h (scan_words, update_syntax_table): Adjust prototypes.
casefiddle.c (operate_on_word): Use EMACS_INT for buffer
positions.
Diffstat (limited to 'src/syntax.h')
-rw-r--r-- | src/syntax.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syntax.h b/src/syntax.h index 48146572d19..15e6c729308 100644 --- a/src/syntax.h +++ b/src/syntax.h @@ -19,7 +19,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ extern Lisp_Object Qsyntax_table_p; -extern void update_syntax_table (int, int, int, Lisp_Object); +extern void update_syntax_table (EMACS_INT, int, int, Lisp_Object); /* The standard syntax table is stored where it will automatically be used in all new buffers. */ @@ -301,7 +301,7 @@ extern struct gl_state_s gl_state; extern int parse_sexp_lookup_properties; extern INTERVAL interval_of (int, Lisp_Object); -extern int scan_words (int, int); +extern EMACS_INT scan_words (EMACS_INT, EMACS_INT); /* arch-tag: 28833cca-cd73-4741-8c85-a3111166a0e0 (do not change this comment) */ |