comparison src/proto/mbyte.pro @ 7668:21b0a39d13ed v7.4.1133

commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 19 13:22:12 2016 +0100 patch 7.4.1133 Problem: Generated function prototypes still have __ARGS(). Solution: Generate function prototypes without __ARGS().
author Christian Brabandt <cb@256bit.org>
date Tue, 19 Jan 2016 13:30:06 +0100
parents 43c15135926f
children a1132255e3e1
comparison
equal deleted inserted replaced
7667:201b9c7e3df7 7668:21b0a39d13ed
1 /* mbyte.c */ 1 /* mbyte.c */
2 int enc_canon_props __ARGS((char_u *name)); 2 int enc_canon_props(char_u *name);
3 char_u *mb_init __ARGS((void)); 3 char_u *mb_init(void);
4 int bomb_size __ARGS((void)); 4 int bomb_size(void);
5 void remove_bom __ARGS((char_u *s)); 5 void remove_bom(char_u *s);
6 int mb_get_class __ARGS((char_u *p)); 6 int mb_get_class(char_u *p);
7 int mb_get_class_buf __ARGS((char_u *p, buf_T *buf)); 7 int mb_get_class_buf(char_u *p, buf_T *buf);
8 int dbcs_class __ARGS((unsigned lead, unsigned trail)); 8 int dbcs_class(unsigned lead, unsigned trail);
9 int latin_char2len __ARGS((int c)); 9 int latin_char2len(int c);
10 int latin_char2bytes __ARGS((int c, char_u *buf)); 10 int latin_char2bytes(int c, char_u *buf);
11 int latin_ptr2len __ARGS((char_u *p)); 11 int latin_ptr2len(char_u *p);
12 int latin_ptr2len_len __ARGS((char_u *p, int size)); 12 int latin_ptr2len_len(char_u *p, int size);
13 int utf_char2cells __ARGS((int c)); 13 int utf_char2cells(int c);
14 int latin_ptr2cells __ARGS((char_u *p)); 14 int latin_ptr2cells(char_u *p);
15 int utf_ptr2cells __ARGS((char_u *p)); 15 int utf_ptr2cells(char_u *p);
16 int dbcs_ptr2cells __ARGS((char_u *p)); 16 int dbcs_ptr2cells(char_u *p);
17 int latin_ptr2cells_len __ARGS((char_u *p, int size)); 17 int latin_ptr2cells_len(char_u *p, int size);
18 int latin_char2cells __ARGS((int c)); 18 int latin_char2cells(int c);
19 int mb_string2cells __ARGS((char_u *p, int len)); 19 int mb_string2cells(char_u *p, int len);
20 int latin_off2cells __ARGS((unsigned off, unsigned max_off)); 20 int latin_off2cells(unsigned off, unsigned max_off);
21 int dbcs_off2cells __ARGS((unsigned off, unsigned max_off)); 21 int dbcs_off2cells(unsigned off, unsigned max_off);
22 int utf_off2cells __ARGS((unsigned off, unsigned max_off)); 22 int utf_off2cells(unsigned off, unsigned max_off);
23 int latin_ptr2char __ARGS((char_u *p)); 23 int latin_ptr2char(char_u *p);
24 int utf_ptr2char __ARGS((char_u *p)); 24 int utf_ptr2char(char_u *p);
25 int mb_ptr2char_adv __ARGS((char_u **pp)); 25 int mb_ptr2char_adv(char_u **pp);
26 int mb_cptr2char_adv __ARGS((char_u **pp)); 26 int mb_cptr2char_adv(char_u **pp);
27 int arabic_combine __ARGS((int one, int two)); 27 int arabic_combine(int one, int two);
28 int arabic_maycombine __ARGS((int two)); 28 int arabic_maycombine(int two);
29 int utf_composinglike __ARGS((char_u *p1, char_u *p2)); 29 int utf_composinglike(char_u *p1, char_u *p2);
30 int utfc_ptr2char __ARGS((char_u *p, int *pcc)); 30 int utfc_ptr2char(char_u *p, int *pcc);
31 int utfc_ptr2char_len __ARGS((char_u *p, int *pcc, int maxlen)); 31 int utfc_ptr2char_len(char_u *p, int *pcc, int maxlen);
32 int utfc_char2bytes __ARGS((int off, char_u *buf)); 32 int utfc_char2bytes(int off, char_u *buf);
33 int utf_ptr2len __ARGS((char_u *p)); 33 int utf_ptr2len(char_u *p);
34 int utf_byte2len __ARGS((int b)); 34 int utf_byte2len(int b);
35 int utf_ptr2len_len __ARGS((char_u *p, int size)); 35 int utf_ptr2len_len(char_u *p, int size);
36 int utfc_ptr2len __ARGS((char_u *p)); 36 int utfc_ptr2len(char_u *p);
37 int utfc_ptr2len_len __ARGS((char_u *p, int size)); 37 int utfc_ptr2len_len(char_u *p, int size);
38 int utf_char2len __ARGS((int c)); 38 int utf_char2len(int c);
39 int utf_char2bytes __ARGS((int c, char_u *buf)); 39 int utf_char2bytes(int c, char_u *buf);
40 int utf_iscomposing __ARGS((int c)); 40 int utf_iscomposing(int c);
41 int utf_printable __ARGS((int c)); 41 int utf_printable(int c);
42 int utf_class __ARGS((int c)); 42 int utf_class(int c);
43 int utf_fold __ARGS((int a)); 43 int utf_fold(int a);
44 int utf_toupper __ARGS((int a)); 44 int utf_toupper(int a);
45 int utf_islower __ARGS((int a)); 45 int utf_islower(int a);
46 int utf_tolower __ARGS((int a)); 46 int utf_tolower(int a);
47 int utf_isupper __ARGS((int a)); 47 int utf_isupper(int a);
48 int mb_strnicmp __ARGS((char_u *s1, char_u *s2, size_t nn)); 48 int mb_strnicmp(char_u *s1, char_u *s2, size_t nn);
49 void show_utf8 __ARGS((void)); 49 void show_utf8(void);
50 int latin_head_off __ARGS((char_u *base, char_u *p)); 50 int latin_head_off(char_u *base, char_u *p);
51 int dbcs_head_off __ARGS((char_u *base, char_u *p)); 51 int dbcs_head_off(char_u *base, char_u *p);
52 int dbcs_screen_head_off __ARGS((char_u *base, char_u *p)); 52 int dbcs_screen_head_off(char_u *base, char_u *p);
53 int utf_head_off __ARGS((char_u *base, char_u *p)); 53 int utf_head_off(char_u *base, char_u *p);
54 void mb_copy_char __ARGS((char_u **fp, char_u **tp)); 54 void mb_copy_char(char_u **fp, char_u **tp);
55 int mb_off_next __ARGS((char_u *base, char_u *p)); 55 int mb_off_next(char_u *base, char_u *p);
56 int mb_tail_off __ARGS((char_u *base, char_u *p)); 56 int mb_tail_off(char_u *base, char_u *p);
57 void utf_find_illegal __ARGS((void)); 57 void utf_find_illegal(void);
58 int utf_valid_string __ARGS((char_u *s, char_u *end)); 58 int utf_valid_string(char_u *s, char_u *end);
59 int dbcs_screen_tail_off __ARGS((char_u *base, char_u *p)); 59 int dbcs_screen_tail_off(char_u *base, char_u *p);
60 void mb_adjust_cursor __ARGS((void)); 60 void mb_adjust_cursor(void);
61 void mb_adjustpos __ARGS((buf_T *buf, pos_T *lp)); 61 void mb_adjustpos(buf_T *buf, pos_T *lp);
62 char_u *mb_prevptr __ARGS((char_u *line, char_u *p)); 62 char_u *mb_prevptr(char_u *line, char_u *p);
63 int mb_charlen __ARGS((char_u *str)); 63 int mb_charlen(char_u *str);
64 int mb_charlen_len __ARGS((char_u *str, int len)); 64 int mb_charlen_len(char_u *str, int len);
65 char_u *mb_unescape __ARGS((char_u **pp)); 65 char_u *mb_unescape(char_u **pp);
66 int mb_lefthalve __ARGS((int row, int col)); 66 int mb_lefthalve(int row, int col);
67 int mb_fix_col __ARGS((int col, int row)); 67 int mb_fix_col(int col, int row);
68 char_u *enc_skip __ARGS((char_u *p)); 68 char_u *enc_skip(char_u *p);
69 char_u *enc_canonize __ARGS((char_u *enc)); 69 char_u *enc_canonize(char_u *enc);
70 char_u *enc_locale __ARGS((void)); 70 char_u *enc_locale(void);
71 int encname2codepage __ARGS((char_u *name)); 71 int encname2codepage(char_u *name);
72 void *my_iconv_open __ARGS((char_u *to, char_u *from)); 72 void *my_iconv_open(char_u *to, char_u *from);
73 int iconv_enabled __ARGS((int verbose)); 73 int iconv_enabled(int verbose);
74 void iconv_end __ARGS((void)); 74 void iconv_end(void);
75 void im_set_active __ARGS((int active)); 75 void im_set_active(int active);
76 void xim_set_focus __ARGS((int focus)); 76 void xim_set_focus(int focus);
77 void im_set_position __ARGS((int row, int col)); 77 void im_set_position(int row, int col);
78 void xim_set_preedit __ARGS((void)); 78 void xim_set_preedit(void);
79 int im_get_feedback_attr __ARGS((int col)); 79 int im_get_feedback_attr(int col);
80 void xim_init __ARGS((void)); 80 void xim_init(void);
81 void im_shutdown __ARGS((void)); 81 void im_shutdown(void);
82 int im_xim_isvalid_imactivate __ARGS((void)); 82 int im_xim_isvalid_imactivate(void);
83 void xim_reset __ARGS((void)); 83 void xim_reset(void);
84 int xim_queue_key_press_event __ARGS((GdkEventKey *event, int down)); 84 int xim_queue_key_press_event(GdkEventKey *event, int down);
85 int im_get_status __ARGS((void)); 85 int im_get_status(void);
86 int preedit_get_status __ARGS((void)); 86 int preedit_get_status(void);
87 int im_is_preediting __ARGS((void)); 87 int im_is_preediting(void);
88 void xim_set_status_area __ARGS((void)); 88 void xim_set_status_area(void);
89 int xim_get_status_area_height __ARGS((void)); 89 int xim_get_status_area_height(void);
90 int convert_setup __ARGS((vimconv_T *vcp, char_u *from, char_u *to)); 90 int convert_setup(vimconv_T *vcp, char_u *from, char_u *to);
91 int convert_setup_ext __ARGS((vimconv_T *vcp, char_u *from, int from_unicode_is_utf8, char_u *to, int to_unicode_is_utf8)); 91 int convert_setup_ext(vimconv_T *vcp, char_u *from, int from_unicode_is_utf8, char_u *to, int to_unicode_is_utf8);
92 int convert_input __ARGS((char_u *ptr, int len, int maxlen)); 92 int convert_input(char_u *ptr, int len, int maxlen);
93 int convert_input_safe __ARGS((char_u *ptr, int len, int maxlen, char_u **restp, int *restlenp)); 93 int convert_input_safe(char_u *ptr, int len, int maxlen, char_u **restp, int *restlenp);
94 char_u *string_convert __ARGS((vimconv_T *vcp, char_u *ptr, int *lenp)); 94 char_u *string_convert(vimconv_T *vcp, char_u *ptr, int *lenp);
95 char_u *string_convert_ext __ARGS((vimconv_T *vcp, char_u *ptr, int *lenp, int *unconvlenp)); 95 char_u *string_convert_ext(vimconv_T *vcp, char_u *ptr, int *lenp, int *unconvlenp);
96 /* vim: set ft=c : */ 96 /* vim: set ft=c : */