diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-06-16 13:12:07 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-06-16 13:12:07 +0000 |
commit | feba08b22a367b13ce42f422a9cf8871295a401a (patch) | |
tree | dddb1e33b6ea4438d7f176cdc0bfcdfe4a28fa10 /src/globals.h | |
parent | bfa2824d7ed3ef2a9987a666e9f93abd7d1e341d (diff) |
updated for version 7.2-200v7.2.200
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index f5df8473e7..6f69fcd2d0 100644 --- a/src/globals.h +++ b/src/globals.h @@ -810,11 +810,14 @@ EXTERN vimconv_T output_conv; /* type of output conversion */ */ /* length of char in bytes, including following composing chars */ EXTERN int (*mb_ptr2len) __ARGS((char_u *p)) INIT(= latin_ptr2len); +/* idem, with limit on string length */ +EXTERN int (*mb_ptr2len_len) __ARGS((char_u *p, int size)) INIT(= latin_ptr2len_len); /* byte length of char */ EXTERN int (*mb_char2len) __ARGS((int c)) INIT(= latin_char2len); /* convert char to bytes, return the length */ EXTERN int (*mb_char2bytes) __ARGS((int c, char_u *buf)) INIT(= latin_char2bytes); EXTERN int (*mb_ptr2cells) __ARGS((char_u *p)) INIT(= latin_ptr2cells); +EXTERN int (*mb_ptr2cells_len) __ARGS((char_u *p, int size)) INIT(= latin_ptr2cells_len); EXTERN int (*mb_char2cells) __ARGS((int c)) INIT(= latin_char2cells); EXTERN int (*mb_off2cells) __ARGS((unsigned off, unsigned max_off)) INIT(= latin_off2cells); EXTERN int (*mb_ptr2char) __ARGS((char_u *p)) INIT(= latin_ptr2char); |