annotate src/proto/mbyte.pro @ 3516:ebec52bc2800 v7.3.519

updated for version 7.3.519 Problem: When completefunction returns it cannot indicate end of completion mode. Solution: Recognize completefunction returning -3. (Mtsushita Shougo)
author Bram Moolenaar <bram@vim.org>
date Fri, 18 May 2012 16:35:21 +0200
parents 7d4e5e31d8c1
children 43c15135926f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* mbyte.c */
1125
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
2 int enc_canon_props __ARGS((char_u *name));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
3 char_u *mb_init __ARGS((void));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
4 int bomb_size __ARGS((void));
3002
7d4e5e31d8c1 updated for version 7.3.273
Bram Moolenaar <bram@vim.org>
parents: 2933
diff changeset
5 void remove_bom __ARGS((char_u *s));
1125
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
6 int mb_get_class __ARGS((char_u *p));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
7 int dbcs_class __ARGS((unsigned lead, unsigned trail));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
8 int latin_char2len __ARGS((int c));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
9 int latin_char2bytes __ARGS((int c, char_u *buf));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
10 int latin_ptr2len __ARGS((char_u *p));
1903
4c02214d1465 updated for version 7.2-200
vimboss
parents: 1668
diff changeset
11 int latin_ptr2len_len __ARGS((char_u *p, int size));
1125
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
12 int utf_char2cells __ARGS((int c));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
13 int latin_ptr2cells __ARGS((char_u *p));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
14 int utf_ptr2cells __ARGS((char_u *p));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
15 int dbcs_ptr2cells __ARGS((char_u *p));
1903
4c02214d1465 updated for version 7.2-200
vimboss
parents: 1668
diff changeset
16 int latin_ptr2cells_len __ARGS((char_u *p, int size));
1125
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
17 int latin_char2cells __ARGS((int c));
2338
da6ec32d8d8f Added strwidth() and strchars() functions.
Bram Moolenaar <bram@vim.org>
parents: 2278
diff changeset
18 int mb_string2cells __ARGS((char_u *p, int len));
1378
a4365075d05c updated for version 7.1-093
vimboss
parents: 1125
diff changeset
19 int latin_off2cells __ARGS((unsigned off, unsigned max_off));
a4365075d05c updated for version 7.1-093
vimboss
parents: 1125
diff changeset
20 int dbcs_off2cells __ARGS((unsigned off, unsigned max_off));
a4365075d05c updated for version 7.1-093
vimboss
parents: 1125
diff changeset
21 int utf_off2cells __ARGS((unsigned off, unsigned max_off));
1125
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
22 int latin_ptr2char __ARGS((char_u *p));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
23 int utf_ptr2char __ARGS((char_u *p));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
24 int mb_ptr2char_adv __ARGS((char_u **pp));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
25 int mb_cptr2char_adv __ARGS((char_u **pp));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
26 int arabic_combine __ARGS((int one, int two));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
27 int arabic_maycombine __ARGS((int two));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
28 int utf_composinglike __ARGS((char_u *p1, char_u *p2));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
29 int utfc_ptr2char __ARGS((char_u *p, int *pcc));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
30 int utfc_ptr2char_len __ARGS((char_u *p, int *pcc, int maxlen));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
31 int utfc_char2bytes __ARGS((int off, char_u *buf));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
32 int utf_ptr2len __ARGS((char_u *p));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
33 int utf_byte2len __ARGS((int b));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
34 int utf_ptr2len_len __ARGS((char_u *p, int size));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
35 int utfc_ptr2len __ARGS((char_u *p));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
36 int utfc_ptr2len_len __ARGS((char_u *p, int size));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
37 int utf_char2len __ARGS((int c));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
38 int utf_char2bytes __ARGS((int c, char_u *buf));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
39 int utf_iscomposing __ARGS((int c));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
40 int utf_printable __ARGS((int c));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
41 int utf_class __ARGS((int c));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
42 int utf_fold __ARGS((int a));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
43 int utf_toupper __ARGS((int a));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
44 int utf_islower __ARGS((int a));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
45 int utf_tolower __ARGS((int a));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
46 int utf_isupper __ARGS((int a));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
47 int mb_strnicmp __ARGS((char_u *s1, char_u *s2, size_t nn));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
48 void show_utf8 __ARGS((void));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
49 int latin_head_off __ARGS((char_u *base, char_u *p));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
50 int dbcs_head_off __ARGS((char_u *base, char_u *p));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
51 int dbcs_screen_head_off __ARGS((char_u *base, char_u *p));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
52 int utf_head_off __ARGS((char_u *base, char_u *p));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
53 void mb_copy_char __ARGS((char_u **fp, char_u **tp));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
54 int mb_off_next __ARGS((char_u *base, char_u *p));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
55 int mb_tail_off __ARGS((char_u *base, char_u *p));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
56 void utf_find_illegal __ARGS((void));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
57 int utf_valid_string __ARGS((char_u *s, char_u *end));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
58 int dbcs_screen_tail_off __ARGS((char_u *base, char_u *p));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
59 void mb_adjust_cursor __ARGS((void));
2933
0bef86c5c985 updated for version 7.3.239
Bram Moolenaar <bram@vim.org>
parents: 2338
diff changeset
60 void mb_adjustpos __ARGS((buf_T *buf, pos_T *lp));
1125
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
61 char_u *mb_prevptr __ARGS((char_u *line, char_u *p));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
62 int mb_charlen __ARGS((char_u *str));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
63 int mb_charlen_len __ARGS((char_u *str, int len));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
64 char_u *mb_unescape __ARGS((char_u **pp));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
65 int mb_lefthalve __ARGS((int row, int col));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
66 int mb_fix_col __ARGS((int col, int row));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
67 char_u *enc_skip __ARGS((char_u *p));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
68 char_u *enc_canonize __ARGS((char_u *enc));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
69 char_u *enc_locale __ARGS((void));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
70 int encname2codepage __ARGS((char_u *name));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
71 void *my_iconv_open __ARGS((char_u *to, char_u *from));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
72 int iconv_enabled __ARGS((int verbose));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
73 void iconv_end __ARGS((void));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
74 void im_set_active __ARGS((int active));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
75 void xim_set_focus __ARGS((int focus));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
76 void im_set_position __ARGS((int row, int col));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
77 void xim_set_preedit __ARGS((void));
2278
0b3be97064e5 Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents: 1903
diff changeset
78 int im_get_feedback_attr __ARGS((int col));
1125
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
79 void xim_init __ARGS((void));
2278
0b3be97064e5 Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents: 1903
diff changeset
80 void im_shutdown __ARGS((void));
0b3be97064e5 Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents: 1903
diff changeset
81 int im_xim_isvalid_imactivate __ARGS((void));
1125
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
82 void xim_reset __ARGS((void));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
83 int xim_queue_key_press_event __ARGS((GdkEventKey *event, int down));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
84 int im_get_status __ARGS((void));
1668
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 1378
diff changeset
85 int preedit_get_status __ARGS((void));
1125
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
86 int im_is_preediting __ARGS((void));
2278
0b3be97064e5 Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents: 1903
diff changeset
87 void xim_set_status_area __ARGS((void));
0b3be97064e5 Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents: 1903
diff changeset
88 int xim_get_status_area_height __ARGS((void));
1125
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
89 int convert_setup __ARGS((vimconv_T *vcp, char_u *from, char_u *to));
1903
4c02214d1465 updated for version 7.2-200
vimboss
parents: 1668
diff changeset
90 int convert_setup_ext __ARGS((vimconv_T *vcp, char_u *from, int from_unicode_is_utf8, char_u *to, int to_unicode_is_utf8));
1125
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
91 int convert_input __ARGS((char_u *ptr, int len, int maxlen));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
92 int convert_input_safe __ARGS((char_u *ptr, int len, int maxlen, char_u **restp, int *restlenp));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
93 char_u *string_convert __ARGS((vimconv_T *vcp, char_u *ptr, int *lenp));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
94 char_u *string_convert_ext __ARGS((vimconv_T *vcp, char_u *ptr, int *lenp, int *unconvlenp));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 /* vim: set ft=c : */