diff options
| author | Dmitry Antipov | 2014-06-25 16:11:08 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2014-06-25 16:11:08 +0400 |
| commit | 51e12e8e9411e5d050c36ef6d8777445a5497972 (patch) | |
| tree | 3473f0b720f0c6bcb4d8f42d9bf230675c46087d /src/syntax.c | |
| parent | 5697ca55cb79817a6704c344cc76d866ee2e1699 (diff) | |
| download | emacs-51e12e8e9411e5d050c36ef6d8777445a5497972.tar.gz emacs-51e12e8e9411e5d050c36ef6d8777445a5497972.zip | |
Consistently use validate_subarray to verify substring.
* fns.c (validate_substring): Not static any more. Adjust to
use ptrdiff_t, not EMACS_INT, becase string and vector limits
can't exceed ptrdiff_t even if EMACS_INT is wider.
* lisp.h (validate_subarray): Add prototype.
* coding.c (Fundecodable_char_position):
* composite.c (Fcomposition_get_gstring, Fcompose_string_internal):
Use validate_subarray. Adjust comment to mention substring.
Diffstat (limited to 'src/syntax.c')
0 files changed, 0 insertions, 0 deletions