Skip to content

Commit d2232d7

Browse files
yegappanchrisbra
authored andcommitted
patch 9.1.1235: cproto files are outdated
Problem: cproto files are outdated Solution: regenerate proto files by running make proto (Yegappan Lakshmanan) closes: #16956 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent 7cedae3 commit d2232d7

27 files changed

Lines changed: 36 additions & 40 deletions

src/proto/autocmd.pro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ void do_augroup(char_u *arg, int del_group);
55
void autocmd_init(void);
66
void free_all_autocmds(void);
77
int is_aucmd_win(win_T *win);
8-
int check_ei(char_u *ei);
98
int event_ignored(event_T event, char_u *ei);
9+
int check_ei(char_u *ei);
1010
char_u *au_event_disable(char *what);
1111
void au_event_restore(char_u *old_ei);
1212
void do_autocmd(exarg_T *eap, char_u *arg_in, int forceit);
@@ -41,11 +41,11 @@ int has_autocmd(event_T event, char_u *sfname, buf_T *buf);
4141
char_u *get_augroup_name(expand_T *xp, int idx);
4242
char_u *set_context_in_autocmd(expand_T *xp, char_u *arg, int doautocmd);
4343
char_u *get_event_name(expand_T *xp, int idx);
44-
char_u *get_event_name_no_group(expand_T *xp, int idx, int eiw);
44+
char_u *get_event_name_no_group(expand_T *xp, int idx, int win);
45+
int has_tabclosedpre(void);
4546
int autocmd_supported(char_u *name);
4647
int au_exists(char_u *arg);
4748
void f_autocmd_add(typval_T *argvars, typval_T *rettv);
4849
void f_autocmd_delete(typval_T *argvars, typval_T *rettv);
4950
void f_autocmd_get(typval_T *argvars, typval_T *rettv);
50-
int has_tabclosedpre(void);
5151
/* vim: set ft=c : */

src/proto/buffer.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ int open_buffer(int read_stdin, exarg_T *eap, int flags_arg);
55
void set_bufref(bufref_T *bufref, buf_T *buf);
66
int bufref_valid(bufref_T *bufref);
77
int buf_valid(buf_T *buf);
8+
int buf_locked(buf_T *buf);
89
int close_buffer(win_T *win, buf_T *buf, int action, int abort_if_last, int ignore_abort);
910
void buf_clear_file(buf_T *buf);
1011
void buf_freeall(buf_T *buf, int flags);
@@ -70,5 +71,4 @@ char_u *buf_get_fname(buf_T *buf);
7071
void set_buflisted(int on);
7172
int buf_contents_changed(buf_T *buf);
7273
void wipe_buffer(buf_T *buf, int aucmd);
73-
int buf_locked(buf_T *buf);
7474
/* vim: set ft=c : */

src/proto/charset.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* charset.c */
22
int init_chartab(void);
33
int buf_init_chartab(buf_T *buf, int global);
4-
int check_isopt(char_u *isopt);
4+
int check_isopt(char_u *var);
55
void trans_characters(char_u *buf, int bufsize);
66
char_u *transstr(char_u *s);
77
char_u *str_foldcase(char_u *str, int orglen, char_u *buf, int buflen);

src/proto/diff.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ void ex_diffthis(exarg_T *eap);
1313
void diff_win_options(win_T *wp, int addbuf);
1414
void ex_diffoff(exarg_T *eap);
1515
void diff_clear(tabpage_T *tp);
16-
int diff_check(win_T *wp, linenr_T lnum);
1716
int diff_check_with_linestatus(win_T *wp, linenr_T lnum, int *linestatus);
17+
int diff_check(win_T *wp, linenr_T lnum);
1818
int diff_check_fill(win_T *wp, linenr_T lnum);
1919
void diff_set_topline(win_T *fromwin, win_T *towin);
2020
int diffopt_changed(void);

src/proto/eval.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,5 @@ int get_echo_attr(void);
7474
void ex_execute(exarg_T *eap);
7575
char_u *find_option_end(char_u **arg, int *scope);
7676
void last_set_msg(sctx_T script_ctx);
77-
char_u *do_string_sub(char_u *str, size_t str_len, char_u *pat, char_u *sub, typval_T *expr, char_u *flags, size_t *ret_len);
77+
char_u *do_string_sub(char_u *str, size_t len, char_u *pat, char_u *sub, typval_T *expr, char_u *flags, size_t *ret_len);
7878
/* vim: set ft=c : */

src/proto/filepath.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ void f_chdir(typval_T *argvars, typval_T *rettv);
66
void f_delete(typval_T *argvars, typval_T *rettv);
77
void f_executable(typval_T *argvars, typval_T *rettv);
88
void f_exepath(typval_T *argvars, typval_T *rettv);
9-
void f_filecopy(typval_T *argvars, typval_T *rettv);
109
void f_filereadable(typval_T *argvars, typval_T *rettv);
1110
void f_filewritable(typval_T *argvars, typval_T *rettv);
1211
void f_finddir(typval_T *argvars, typval_T *rettv);
@@ -36,6 +35,7 @@ void f_writefile(typval_T *argvars, typval_T *rettv);
3635
char_u *do_browse(int flags, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter, buf_T *buf);
3736
void f_browse(typval_T *argvars, typval_T *rettv);
3837
void f_browsedir(typval_T *argvars, typval_T *rettv);
38+
void f_filecopy(typval_T *argvars, typval_T *rettv);
3939
void home_replace(buf_T *buf, char_u *src, char_u *dst, int dstlen, int one);
4040
char_u *home_replace_save(buf_T *buf, char_u *src);
4141
int fullpathcmp(char_u *s1, char_u *s2, int checkname, int expandenv);

src/proto/getchar.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ void AppendToRedobuffSpec(char_u *s);
1515
void AppendCharToRedobuff(int c);
1616
void AppendNumberToRedobuff(long n);
1717
void stuffReadbuff(char_u *s);
18-
void stuffReadbuffLen(char_u *s, long len);
1918
void stuffRedoReadbuff(char_u *s);
19+
void stuffReadbuffLen(char_u *s, long len);
2020
void stuffReadbuffSpec(char_u *s);
2121
void stuffcharReadbuff(int c);
2222
void stuffnumReadbuff(long n);

src/proto/highlight.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ int highlight_changed(void);
4343
void set_context_in_highlight_cmd(expand_T *xp, char_u *arg);
4444
char_u *get_highlight_name(expand_T *xp, int idx);
4545
char_u *get_highlight_name_ext(expand_T *xp, int idx, int skip_cleared);
46-
int expand_highlight_group( char_u *pat, expand_T *xp, regmatch_T *rmp, char_u ***matches, int *numMatches);
46+
int expand_highlight_group(char_u *pat, expand_T *xp, regmatch_T *rmp, char_u ***matches, int *numMatches);
4747
void free_highlight_fonts(void);
4848
void f_hlget(typval_T *argvars, typval_T *rettv);
4949
void f_hlset(typval_T *argvars, typval_T *rettv);

src/proto/insexpand.pro

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ int has_compl_option(int dict_opt);
2525
int vim_is_ctrl_x_key(int c);
2626
int ins_compl_accept_char(int c);
2727
int ins_compl_add_infercase(char_u *str_arg, int len, int icase, char_u *fname, int dir, int cont_s_ipos, int score);
28+
int ins_compl_col_range_attr(linenr_T lnum, int col);
29+
int ins_compl_lnum_in_range(linenr_T lnum);
2830
int ins_compl_has_shown_match(void);
2931
int ins_compl_long_shown_match(void);
3032
unsigned int get_cot_flags(void);
@@ -34,6 +36,7 @@ char_u *ins_compl_leader(void);
3436
size_t ins_compl_leader_len(void);
3537
char_u *find_word_start(char_u *ptr);
3638
char_u *find_word_end(char_u *ptr);
39+
char_u *find_line_end(char_u *ptr);
3740
void ins_compl_clear(void);
3841
int ins_compl_active(void);
3942
int ins_compl_win_active(win_T *wp);
@@ -43,6 +46,7 @@ int ins_compl_interrupted(void);
4346
int ins_compl_enter_selects(void);
4447
colnr_T ins_compl_col(void);
4548
int ins_compl_len(void);
49+
int ins_compl_preinsert_effect(void);
4650
int ins_compl_bs(void);
4751
void ins_compl_addleader(int c);
4852
void ins_compl_addfrommatch(void);
@@ -61,10 +65,5 @@ void ins_compl_delete(void);
6165
void ins_compl_insert(int in_compl_func, int move_cursor);
6266
void ins_compl_check_keys(int frequency, int in_compl_func);
6367
int ins_complete(int c, int enable_pum);
64-
int ins_compl_col_range_attr(linenr_T lnum, int col);
6568
void free_insexpand_stuff(void);
66-
int ins_compl_preinsert_effect(void);
67-
int ins_compl_lnum_in_range(linenr_T lnum);
68-
char_u *find_line_end(char_u *ptr);
69-
7069
/* vim: set ft=c : */

src/proto/mark.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* mark.c */
22
int setmark(int c);
33
int setmark_pos(int c, pos_T *pos, int fnum);
4+
void mark_forget_file(win_T *wp, int fnum);
45
void setpcmark(void);
56
void checkpcmark(void);
67
pos_T *movemark(int count);
@@ -28,5 +29,4 @@ void set_last_cursor(win_T *win);
2829
void free_all_marks(void);
2930
xfmark_T *get_namedfm(void);
3031
void f_getmarklist(typval_T *argvars, typval_T *rettv);
31-
void mark_forget_file(win_T *wp, int fnum);
3232
/* vim: set ft=c : */

0 commit comments

Comments
 (0)