comparison src/proto/search.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 814f1f569e4a
children bb00c661b3a4
comparison
equal deleted inserted replaced
7667:201b9c7e3df7 7668:21b0a39d13ed
1 /* search.c */ 1 /* search.c */
2 int search_regcomp __ARGS((char_u *pat, int pat_save, int pat_use, int options, regmmatch_T *regmatch)); 2 int search_regcomp(char_u *pat, int pat_save, int pat_use, int options, regmmatch_T *regmatch);
3 char_u *get_search_pat __ARGS((void)); 3 char_u *get_search_pat(void);
4 char_u *reverse_text __ARGS((char_u *s)); 4 char_u *reverse_text(char_u *s);
5 void save_re_pat __ARGS((int idx, char_u *pat, int magic)); 5 void save_re_pat(int idx, char_u *pat, int magic);
6 void save_search_patterns __ARGS((void)); 6 void save_search_patterns(void);
7 void restore_search_patterns __ARGS((void)); 7 void restore_search_patterns(void);
8 void free_search_patterns __ARGS((void)); 8 void free_search_patterns(void);
9 int ignorecase __ARGS((char_u *pat)); 9 int ignorecase(char_u *pat);
10 int pat_has_uppercase __ARGS((char_u *pat)); 10 int pat_has_uppercase(char_u *pat);
11 char_u *last_csearch __ARGS((void)); 11 char_u *last_csearch(void);
12 int last_csearch_forward __ARGS((void)); 12 int last_csearch_forward(void);
13 int last_csearch_until __ARGS((void)); 13 int last_csearch_until(void);
14 void set_last_csearch __ARGS((int c, char_u *s, int len)); 14 void set_last_csearch(int c, char_u *s, int len);
15 void set_csearch_direction __ARGS((int cdir)); 15 void set_csearch_direction(int cdir);
16 void set_csearch_until __ARGS((int t_cmd)); 16 void set_csearch_until(int t_cmd);
17 char_u *last_search_pat __ARGS((void)); 17 char_u *last_search_pat(void);
18 void reset_search_dir __ARGS((void)); 18 void reset_search_dir(void);
19 void set_last_search_pat __ARGS((char_u *s, int idx, int magic, int setlast)); 19 void set_last_search_pat(char_u *s, int idx, int magic, int setlast);
20 void last_pat_prog __ARGS((regmmatch_T *regmatch)); 20 void last_pat_prog(regmmatch_T *regmatch);
21 int searchit __ARGS((win_T *win, buf_T *buf, pos_T *pos, int dir, char_u *pat, long count, int options, int pat_use, linenr_T stop_lnum, proftime_T *tm)); 21 int searchit(win_T *win, buf_T *buf, pos_T *pos, int dir, char_u *pat, long count, int options, int pat_use, linenr_T stop_lnum, proftime_T *tm);
22 void set_search_direction __ARGS((int cdir)); 22 void set_search_direction(int cdir);
23 int do_search __ARGS((oparg_T *oap, int dirc, char_u *pat, long count, int options, proftime_T *tm)); 23 int do_search(oparg_T *oap, int dirc, char_u *pat, long count, int options, proftime_T *tm);
24 int search_for_exact_line __ARGS((buf_T *buf, pos_T *pos, int dir, char_u *pat)); 24 int search_for_exact_line(buf_T *buf, pos_T *pos, int dir, char_u *pat);
25 int searchc __ARGS((cmdarg_T *cap, int t_cmd)); 25 int searchc(cmdarg_T *cap, int t_cmd);
26 pos_T *findmatch __ARGS((oparg_T *oap, int initc)); 26 pos_T *findmatch(oparg_T *oap, int initc);
27 pos_T *findmatchlimit __ARGS((oparg_T *oap, int initc, int flags, int maxtravel)); 27 pos_T *findmatchlimit(oparg_T *oap, int initc, int flags, int maxtravel);
28 void showmatch __ARGS((int c)); 28 void showmatch(int c);
29 int findsent __ARGS((int dir, long count)); 29 int findsent(int dir, long count);
30 int findpar __ARGS((int *pincl, int dir, long count, int what, int both)); 30 int findpar(int *pincl, int dir, long count, int what, int both);
31 int startPS __ARGS((linenr_T lnum, int para, int both)); 31 int startPS(linenr_T lnum, int para, int both);
32 int fwd_word __ARGS((long count, int bigword, int eol)); 32 int fwd_word(long count, int bigword, int eol);
33 int bck_word __ARGS((long count, int bigword, int stop)); 33 int bck_word(long count, int bigword, int stop);
34 int end_word __ARGS((long count, int bigword, int stop, int empty)); 34 int end_word(long count, int bigword, int stop, int empty);
35 int bckend_word __ARGS((long count, int bigword, int eol)); 35 int bckend_word(long count, int bigword, int eol);
36 int current_word __ARGS((oparg_T *oap, long count, int include, int bigword)); 36 int current_word(oparg_T *oap, long count, int include, int bigword);
37 int current_sent __ARGS((oparg_T *oap, long count, int include)); 37 int current_sent(oparg_T *oap, long count, int include);
38 int current_block __ARGS((oparg_T *oap, long count, int include, int what, int other)); 38 int current_block(oparg_T *oap, long count, int include, int what, int other);
39 int current_tagblock __ARGS((oparg_T *oap, long count_arg, int include)); 39 int current_tagblock(oparg_T *oap, long count_arg, int include);
40 int current_par __ARGS((oparg_T *oap, long count, int include, int type)); 40 int current_par(oparg_T *oap, long count, int include, int type);
41 int current_quote __ARGS((oparg_T *oap, long count, int include, int quotechar)); 41 int current_quote(oparg_T *oap, long count, int include, int quotechar);
42 int current_search __ARGS((long count, int forward)); 42 int current_search(long count, int forward);
43 int linewhite __ARGS((linenr_T lnum)); 43 int linewhite(linenr_T lnum);
44 void find_pattern_in_path __ARGS((char_u *ptr, int dir, int len, int whole, int skip_comments, int type, long count, int action, linenr_T start_lnum, linenr_T end_lnum)); 44 void find_pattern_in_path(char_u *ptr, int dir, int len, int whole, int skip_comments, int type, long count, int action, linenr_T start_lnum, linenr_T end_lnum);
45 int read_viminfo_search_pattern __ARGS((vir_T *virp, int force)); 45 int read_viminfo_search_pattern(vir_T *virp, int force);
46 void write_viminfo_search_pattern __ARGS((FILE *fp)); 46 void write_viminfo_search_pattern(FILE *fp);
47 /* vim: set ft=c : */ 47 /* vim: set ft=c : */