Mercurial > vim
comparison src/proto/ops.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 | b872724c37db |
children | f5d9eb512f8b |
comparison
equal
deleted
inserted
replaced
7667:201b9c7e3df7 | 7668:21b0a39d13ed |
---|---|
1 /* ops.c */ | 1 /* ops.c */ |
2 int get_op_type __ARGS((int char1, int char2)); | 2 int get_op_type(int char1, int char2); |
3 int op_on_lines __ARGS((int op)); | 3 int op_on_lines(int op); |
4 int get_op_char __ARGS((int optype)); | 4 int get_op_char(int optype); |
5 int get_extra_op_char __ARGS((int optype)); | 5 int get_extra_op_char(int optype); |
6 void op_shift __ARGS((oparg_T *oap, int curs_top, int amount)); | 6 void op_shift(oparg_T *oap, int curs_top, int amount); |
7 void shift_line __ARGS((int left, int round, int amount, int call_changed_bytes)); | 7 void shift_line(int left, int round, int amount, int call_changed_bytes); |
8 void op_reindent __ARGS((oparg_T *oap, int (*how)(void))); | 8 void op_reindent(oparg_T *oap, int (*how)(void)); |
9 int get_expr_register __ARGS((void)); | 9 int get_expr_register(void); |
10 void set_expr_line __ARGS((char_u *new_line)); | 10 void set_expr_line(char_u *new_line); |
11 char_u *get_expr_line __ARGS((void)); | 11 char_u *get_expr_line(void); |
12 char_u *get_expr_line_src __ARGS((void)); | 12 char_u *get_expr_line_src(void); |
13 int valid_yank_reg __ARGS((int regname, int writing)); | 13 int valid_yank_reg(int regname, int writing); |
14 void get_yank_register __ARGS((int regname, int writing)); | 14 void get_yank_register(int regname, int writing); |
15 int may_get_selection __ARGS((int regname)); | 15 int may_get_selection(int regname); |
16 void *get_register __ARGS((int name, int copy)); | 16 void *get_register(int name, int copy); |
17 void put_register __ARGS((int name, void *reg)); | 17 void put_register(int name, void *reg); |
18 void free_register __ARGS((void *reg)); | 18 void free_register(void *reg); |
19 int yank_register_mline __ARGS((int regname)); | 19 int yank_register_mline(int regname); |
20 int do_record __ARGS((int c)); | 20 int do_record(int c); |
21 int do_execreg __ARGS((int regname, int colon, int addcr, int silent)); | 21 int do_execreg(int regname, int colon, int addcr, int silent); |
22 int insert_reg __ARGS((int regname, int literally)); | 22 int insert_reg(int regname, int literally); |
23 int get_spec_reg __ARGS((int regname, char_u **argp, int *allocated, int errmsg)); | 23 int get_spec_reg(int regname, char_u **argp, int *allocated, int errmsg); |
24 int cmdline_paste_reg __ARGS((int regname, int literally, int remcr)); | 24 int cmdline_paste_reg(int regname, int literally, int remcr); |
25 void adjust_clip_reg __ARGS((int *rp)); | 25 void adjust_clip_reg(int *rp); |
26 int op_delete __ARGS((oparg_T *oap)); | 26 int op_delete(oparg_T *oap); |
27 int op_replace __ARGS((oparg_T *oap, int c)); | 27 int op_replace(oparg_T *oap, int c); |
28 void op_tilde __ARGS((oparg_T *oap)); | 28 void op_tilde(oparg_T *oap); |
29 int swapchar __ARGS((int op_type, pos_T *pos)); | 29 int swapchar(int op_type, pos_T *pos); |
30 void op_insert __ARGS((oparg_T *oap, long count1)); | 30 void op_insert(oparg_T *oap, long count1); |
31 int op_change __ARGS((oparg_T *oap)); | 31 int op_change(oparg_T *oap); |
32 void init_yank __ARGS((void)); | 32 void init_yank(void); |
33 void clear_registers __ARGS((void)); | 33 void clear_registers(void); |
34 int op_yank __ARGS((oparg_T *oap, int deleting, int mess)); | 34 int op_yank(oparg_T *oap, int deleting, int mess); |
35 void do_put __ARGS((int regname, int dir, long count, int flags)); | 35 void do_put(int regname, int dir, long count, int flags); |
36 void adjust_cursor_eol __ARGS((void)); | 36 void adjust_cursor_eol(void); |
37 int preprocs_left __ARGS((void)); | 37 int preprocs_left(void); |
38 int get_register_name __ARGS((int num)); | 38 int get_register_name(int num); |
39 void ex_display __ARGS((exarg_T *eap)); | 39 void ex_display(exarg_T *eap); |
40 int do_join __ARGS((long count, int insert_space, int save_undo, int use_formatoptions, int setmark)); | 40 int do_join(long count, int insert_space, int save_undo, int use_formatoptions, int setmark); |
41 void op_format __ARGS((oparg_T *oap, int keep_cursor)); | 41 void op_format(oparg_T *oap, int keep_cursor); |
42 void op_formatexpr __ARGS((oparg_T *oap)); | 42 void op_formatexpr(oparg_T *oap); |
43 int fex_format __ARGS((linenr_T lnum, long count, int c)); | 43 int fex_format(linenr_T lnum, long count, int c); |
44 void format_lines __ARGS((linenr_T line_count, int avoid_fex)); | 44 void format_lines(linenr_T line_count, int avoid_fex); |
45 int paragraph_start __ARGS((linenr_T lnum)); | 45 int paragraph_start(linenr_T lnum); |
46 void op_addsub __ARGS((oparg_T *oap, linenr_T Prenum1, int g_cmd)); | 46 void op_addsub(oparg_T *oap, linenr_T Prenum1, int g_cmd); |
47 int read_viminfo_register __ARGS((vir_T *virp, int force)); | 47 int read_viminfo_register(vir_T *virp, int force); |
48 void write_viminfo_registers __ARGS((FILE *fp)); | 48 void write_viminfo_registers(FILE *fp); |
49 void x11_export_final_selection __ARGS((void)); | 49 void x11_export_final_selection(void); |
50 void clip_free_selection __ARGS((VimClipboard *cbd)); | 50 void clip_free_selection(VimClipboard *cbd); |
51 void clip_get_selection __ARGS((VimClipboard *cbd)); | 51 void clip_get_selection(VimClipboard *cbd); |
52 void clip_yank_selection __ARGS((int type, char_u *str, long len, VimClipboard *cbd)); | 52 void clip_yank_selection(int type, char_u *str, long len, VimClipboard *cbd); |
53 int clip_convert_selection __ARGS((char_u **str, long_u *len, VimClipboard *cbd)); | 53 int clip_convert_selection(char_u **str, long_u *len, VimClipboard *cbd); |
54 void dnd_yank_drag_data __ARGS((char_u *str, long len)); | 54 void dnd_yank_drag_data(char_u *str, long len); |
55 char_u get_reg_type __ARGS((int regname, long *reglen)); | 55 char_u get_reg_type(int regname, long *reglen); |
56 char_u *get_reg_contents __ARGS((int regname, int flags)); | 56 char_u *get_reg_contents(int regname, int flags); |
57 void write_reg_contents __ARGS((int name, char_u *str, int maxlen, int must_append)); | 57 void write_reg_contents(int name, char_u *str, int maxlen, int must_append); |
58 void write_reg_contents_lst __ARGS((int name, char_u **strings, int maxlen, int must_append, int yank_type, long block_len)); | 58 void write_reg_contents_lst(int name, char_u **strings, int maxlen, int must_append, int yank_type, long block_len); |
59 void write_reg_contents_ex __ARGS((int name, char_u *str, int maxlen, int must_append, int yank_type, long block_len)); | 59 void write_reg_contents_ex(int name, char_u *str, int maxlen, int must_append, int yank_type, long block_len); |
60 void clear_oparg __ARGS((oparg_T *oap)); | 60 void clear_oparg(oparg_T *oap); |
61 void cursor_pos_info __ARGS((dict_T *eval)); | 61 void cursor_pos_info(dict_T *dict); |
62 /* vim: set ft=c : */ | 62 /* vim: set ft=c : */ |