Mercurial > vim
comparison src/proto/ui.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 | 7766142fc7d3 |
children | 175b1116f96a |
comparison
equal
deleted
inserted
replaced
7667:201b9c7e3df7 | 7668:21b0a39d13ed |
---|---|
1 /* ui.c */ | 1 /* ui.c */ |
2 void ui_write __ARGS((char_u *s, int len)); | 2 void ui_write(char_u *s, int len); |
3 void ui_inchar_undo __ARGS((char_u *s, int len)); | 3 void ui_inchar_undo(char_u *s, int len); |
4 int ui_inchar __ARGS((char_u *buf, int maxlen, long wtime, int tb_change_cnt)); | 4 int ui_inchar(char_u *buf, int maxlen, long wtime, int tb_change_cnt); |
5 int ui_char_avail __ARGS((void)); | 5 int ui_char_avail(void); |
6 void ui_delay __ARGS((long msec, int ignoreinput)); | 6 void ui_delay(long msec, int ignoreinput); |
7 void ui_suspend __ARGS((void)); | 7 void ui_suspend(void); |
8 void suspend_shell __ARGS((void)); | 8 void suspend_shell(void); |
9 int ui_get_shellsize __ARGS((void)); | 9 int ui_get_shellsize(void); |
10 void ui_set_shellsize __ARGS((int mustset)); | 10 void ui_set_shellsize(int mustset); |
11 void ui_new_shellsize __ARGS((void)); | 11 void ui_new_shellsize(void); |
12 void ui_breakcheck __ARGS((void)); | 12 void ui_breakcheck(void); |
13 void clip_init __ARGS((int can_use)); | 13 void clip_init(int can_use); |
14 void clip_update_selection __ARGS((VimClipboard *clip)); | 14 void clip_update_selection(VimClipboard *clip); |
15 void clip_own_selection __ARGS((VimClipboard *cbd)); | 15 void clip_own_selection(VimClipboard *cbd); |
16 void clip_lose_selection __ARGS((VimClipboard *cbd)); | 16 void clip_lose_selection(VimClipboard *cbd); |
17 void start_global_changes __ARGS((void)); | 17 void start_global_changes(void); |
18 void end_global_changes __ARGS((void)); | 18 void end_global_changes(void); |
19 void clip_auto_select __ARGS((void)); | 19 void clip_auto_select(void); |
20 int clip_isautosel_star __ARGS((void)); | 20 int clip_isautosel_star(void); |
21 int clip_isautosel_plus __ARGS((void)); | 21 int clip_isautosel_plus(void); |
22 void clip_modeless __ARGS((int button, int is_click, int is_drag)); | 22 void clip_modeless(int button, int is_click, int is_drag); |
23 void clip_start_selection __ARGS((int col, int row, int repeated_click)); | 23 void clip_start_selection(int col, int row, int repeated_click); |
24 void clip_process_selection __ARGS((int button, int col, int row, int_u repeated_click)); | 24 void clip_process_selection(int button, int col, int row, int_u repeated_click); |
25 void clip_may_redraw_selection __ARGS((int row, int col, int len)); | 25 void clip_may_redraw_selection(int row, int col, int len); |
26 void clip_clear_selection __ARGS((VimClipboard *cbd)); | 26 void clip_clear_selection(VimClipboard *cbd); |
27 void clip_may_clear_selection __ARGS((int row1, int row2)); | 27 void clip_may_clear_selection(int row1, int row2); |
28 void clip_scroll_selection __ARGS((int rows)); | 28 void clip_scroll_selection(int rows); |
29 void clip_copy_modeless_selection __ARGS((int both)); | 29 void clip_copy_modeless_selection(int both); |
30 int clip_gen_own_selection __ARGS((VimClipboard *cbd)); | 30 int clip_gen_own_selection(VimClipboard *cbd); |
31 void clip_gen_lose_selection __ARGS((VimClipboard *cbd)); | 31 void clip_gen_lose_selection(VimClipboard *cbd); |
32 void clip_gen_set_selection __ARGS((VimClipboard *cbd)); | 32 void clip_gen_set_selection(VimClipboard *cbd); |
33 void clip_gen_request_selection __ARGS((VimClipboard *cbd)); | 33 void clip_gen_request_selection(VimClipboard *cbd); |
34 int clip_gen_owner_exists __ARGS((VimClipboard *cbd)); | 34 int clip_gen_owner_exists(VimClipboard *cbd); |
35 int vim_is_input_buf_full __ARGS((void)); | 35 int vim_is_input_buf_full(void); |
36 int vim_is_input_buf_empty __ARGS((void)); | 36 int vim_is_input_buf_empty(void); |
37 int vim_free_in_input_buf __ARGS((void)); | 37 int vim_free_in_input_buf(void); |
38 int vim_used_in_input_buf __ARGS((void)); | 38 int vim_used_in_input_buf(void); |
39 char_u *get_input_buf __ARGS((void)); | 39 char_u *get_input_buf(void); |
40 void set_input_buf __ARGS((char_u *p)); | 40 void set_input_buf(char_u *p); |
41 void add_to_input_buf __ARGS((char_u *s, int len)); | 41 void add_to_input_buf(char_u *s, int len); |
42 void add_to_input_buf_csi __ARGS((char_u *str, int len)); | 42 void add_to_input_buf_csi(char_u *str, int len); |
43 void push_raw_key __ARGS((char_u *s, int len)); | 43 void push_raw_key(char_u *s, int len); |
44 void trash_input_buf __ARGS((void)); | 44 void trash_input_buf(void); |
45 int read_from_input_buf __ARGS((char_u *buf, long maxlen)); | 45 int read_from_input_buf(char_u *buf, long maxlen); |
46 void fill_input_buf __ARGS((int exit_on_error)); | 46 void fill_input_buf(int exit_on_error); |
47 void read_error_exit __ARGS((void)); | 47 void read_error_exit(void); |
48 void ui_cursor_shape __ARGS((void)); | 48 void ui_cursor_shape(void); |
49 int check_col __ARGS((int col)); | 49 int check_col(int col); |
50 int check_row __ARGS((int row)); | 50 int check_row(int row); |
51 void open_app_context __ARGS((void)); | 51 void open_app_context(void); |
52 void x11_setup_atoms __ARGS((Display *dpy)); | 52 void x11_setup_atoms(Display *dpy); |
53 void x11_setup_selection __ARGS((Widget w)); | 53 void x11_setup_selection(Widget w); |
54 void clip_x11_request_selection __ARGS((Widget myShell, Display *dpy, VimClipboard *cbd)); | 54 void clip_x11_request_selection(Widget myShell, Display *dpy, VimClipboard *cbd); |
55 void clip_x11_lose_selection __ARGS((Widget myShell, VimClipboard *cbd)); | 55 void clip_x11_lose_selection(Widget myShell, VimClipboard *cbd); |
56 int clip_x11_own_selection __ARGS((Widget myShell, VimClipboard *cbd)); | 56 int clip_x11_own_selection(Widget myShell, VimClipboard *cbd); |
57 void clip_x11_set_selection __ARGS((VimClipboard *cbd)); | 57 void clip_x11_set_selection(VimClipboard *cbd); |
58 int clip_x11_owner_exists __ARGS((VimClipboard *cbd)); | 58 int clip_x11_owner_exists(VimClipboard *cbd); |
59 void yank_cut_buffer0 __ARGS((Display *dpy, VimClipboard *cbd)); | 59 void yank_cut_buffer0(Display *dpy, VimClipboard *cbd); |
60 int jump_to_mouse __ARGS((int flags, int *inclusive, int which_button)); | 60 int jump_to_mouse(int flags, int *inclusive, int which_button); |
61 int mouse_comp_pos __ARGS((win_T *win, int *rowp, int *colp, linenr_T *lnump)); | 61 int mouse_comp_pos(win_T *win, int *rowp, int *colp, linenr_T *lnump); |
62 win_T *mouse_find_win __ARGS((int *rowp, int *colp)); | 62 win_T *mouse_find_win(int *rowp, int *colp); |
63 int get_fpos_of_mouse __ARGS((pos_T *mpos)); | 63 int get_fpos_of_mouse(pos_T *mpos); |
64 int vcol2col __ARGS((win_T *wp, linenr_T lnum, int vcol)); | 64 int vcol2col(win_T *wp, linenr_T lnum, int vcol); |
65 void ui_focus_change __ARGS((int in_focus)); | 65 void ui_focus_change(int in_focus); |
66 void im_save_status __ARGS((long *psave)); | 66 void im_save_status(long *psave); |
67 /* vim: set ft=c : */ | 67 /* vim: set ft=c : */ |