Mercurial > vim
comparison src/proto/edit.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 | 75037f9bc97a |
children | 219d80fee92f |
comparison
equal
deleted
inserted
replaced
7667:201b9c7e3df7 | 7668:21b0a39d13ed |
---|---|
1 /* edit.c */ | 1 /* edit.c */ |
2 int edit __ARGS((int cmdchar, int startln, long count)); | 2 int edit(int cmdchar, int startln, long count); |
3 void edit_putchar __ARGS((int c, int highlight)); | 3 void edit_putchar(int c, int highlight); |
4 void edit_unputchar __ARGS((void)); | 4 void edit_unputchar(void); |
5 void display_dollar __ARGS((colnr_T col)); | 5 void display_dollar(colnr_T col); |
6 void change_indent __ARGS((int type, int amount, int round, int replaced, int call_changed_bytes)); | 6 void change_indent(int type, int amount, int round, int replaced, int call_changed_bytes); |
7 void truncate_spaces __ARGS((char_u *line)); | 7 void truncate_spaces(char_u *line); |
8 void backspace_until_column __ARGS((int col)); | 8 void backspace_until_column(int col); |
9 int vim_is_ctrl_x_key __ARGS((int c)); | 9 int vim_is_ctrl_x_key(int c); |
10 int ins_compl_add_infercase __ARGS((char_u *str, int len, int icase, char_u *fname, int dir, int flags)); | 10 int ins_compl_add_infercase(char_u *str, int len, int icase, char_u *fname, int dir, int flags); |
11 void set_completion __ARGS((colnr_T startcol, list_T *list)); | 11 void set_completion(colnr_T startcol, list_T *list); |
12 void ins_compl_show_pum __ARGS((void)); | 12 void ins_compl_show_pum(void); |
13 char_u *find_word_start __ARGS((char_u *ptr)); | 13 char_u *find_word_start(char_u *ptr); |
14 char_u *find_word_end __ARGS((char_u *ptr)); | 14 char_u *find_word_end(char_u *ptr); |
15 int ins_compl_active __ARGS((void)); | 15 int ins_compl_active(void); |
16 int ins_compl_add_tv __ARGS((typval_T *tv, int dir)); | 16 int ins_compl_add_tv(typval_T *tv, int dir); |
17 void ins_compl_check_keys __ARGS((int frequency)); | 17 void ins_compl_check_keys(int frequency); |
18 int get_literal __ARGS((void)); | 18 int get_literal(void); |
19 void insertchar __ARGS((int c, int flags, int second_indent)); | 19 void insertchar(int c, int flags, int second_indent); |
20 void auto_format __ARGS((int trailblank, int prev_line)); | 20 void auto_format(int trailblank, int prev_line); |
21 int comp_textwidth __ARGS((int ff)); | 21 int comp_textwidth(int ff); |
22 int stop_arrow __ARGS((void)); | 22 int stop_arrow(void); |
23 void set_last_insert __ARGS((int c)); | 23 void set_last_insert(int c); |
24 void free_last_insert __ARGS((void)); | 24 void free_last_insert(void); |
25 char_u *add_char2buf __ARGS((int c, char_u *s)); | 25 char_u *add_char2buf(int c, char_u *s); |
26 void beginline __ARGS((int flags)); | 26 void beginline(int flags); |
27 int oneright __ARGS((void)); | 27 int oneright(void); |
28 int oneleft __ARGS((void)); | 28 int oneleft(void); |
29 int cursor_up __ARGS((long n, int upd_topline)); | 29 int cursor_up(long n, int upd_topline); |
30 int cursor_down __ARGS((long n, int upd_topline)); | 30 int cursor_down(long n, int upd_topline); |
31 int stuff_inserted __ARGS((int c, long count, int no_esc)); | 31 int stuff_inserted(int c, long count, int no_esc); |
32 char_u *get_last_insert __ARGS((void)); | 32 char_u *get_last_insert(void); |
33 char_u *get_last_insert_save __ARGS((void)); | 33 char_u *get_last_insert_save(void); |
34 void replace_push __ARGS((int c)); | 34 void replace_push(int c); |
35 int replace_push_mb __ARGS((char_u *p)); | 35 int replace_push_mb(char_u *p); |
36 void fixthisline __ARGS((int (*get_the_indent)(void))); | 36 void fixthisline(int (*get_the_indent)(void)); |
37 void fix_indent __ARGS((void)); | 37 void fix_indent(void); |
38 int in_cinkeys __ARGS((int keytyped, int when, int line_is_empty)); | 38 int in_cinkeys(int keytyped, int when, int line_is_empty); |
39 int hkmap __ARGS((int c)); | 39 int hkmap(int c); |
40 void ins_scroll __ARGS((void)); | 40 void ins_scroll(void); |
41 void ins_horscroll __ARGS((void)); | 41 void ins_horscroll(void); |
42 int ins_copychar __ARGS((linenr_T lnum)); | 42 int ins_copychar(linenr_T lnum); |
43 /* vim: set ft=c : */ | 43 /* vim: set ft=c : */ |