Mercurial > vim
comparison src/proto/gui.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 | 1a9c16dd76d4 |
children | 664276833670 |
comparison
equal
deleted
inserted
replaced
7667:201b9c7e3df7 | 7668:21b0a39d13ed |
---|---|
1 /* gui.c */ | 1 /* gui.c */ |
2 void gui_start __ARGS((void)); | 2 void gui_start(void); |
3 void gui_prepare __ARGS((int *argc, char **argv)); | 3 void gui_prepare(int *argc, char **argv); |
4 int gui_init_check __ARGS((void)); | 4 int gui_init_check(void); |
5 void gui_init __ARGS((void)); | 5 void gui_init(void); |
6 void gui_exit __ARGS((int rc)); | 6 void gui_exit(int rc); |
7 void gui_shell_closed __ARGS((void)); | 7 void gui_shell_closed(void); |
8 int gui_init_font __ARGS((char_u *font_list, int fontset)); | 8 int gui_init_font(char_u *font_list, int fontset); |
9 int gui_get_wide_font __ARGS((void)); | 9 int gui_get_wide_font(void); |
10 void gui_set_cursor __ARGS((int row, int col)); | 10 void gui_set_cursor(int row, int col); |
11 void gui_update_cursor __ARGS((int force, int clear_selection)); | 11 void gui_update_cursor(int force, int clear_selection); |
12 void gui_position_menu __ARGS((void)); | 12 void gui_position_menu(void); |
13 int gui_get_base_width __ARGS((void)); | 13 int gui_get_base_width(void); |
14 int gui_get_base_height __ARGS((void)); | 14 int gui_get_base_height(void); |
15 void gui_resize_shell __ARGS((int pixel_width, int pixel_height)); | 15 void gui_resize_shell(int pixel_width, int pixel_height); |
16 void gui_may_resize_shell __ARGS((void)); | 16 void gui_may_resize_shell(void); |
17 int gui_get_shellsize __ARGS((void)); | 17 int gui_get_shellsize(void); |
18 void gui_set_shellsize __ARGS((int mustset, int fit_to_display, int direction)); | 18 void gui_set_shellsize(int mustset, int fit_to_display, int direction); |
19 void gui_new_shellsize __ARGS((void)); | 19 void gui_new_shellsize(void); |
20 void gui_reset_scroll_region __ARGS((void)); | 20 void gui_reset_scroll_region(void); |
21 void gui_start_highlight __ARGS((int mask)); | 21 void gui_start_highlight(int mask); |
22 void gui_stop_highlight __ARGS((int mask)); | 22 void gui_stop_highlight(int mask); |
23 void gui_clear_block __ARGS((int row1, int col1, int row2, int col2)); | 23 void gui_clear_block(int row1, int col1, int row2, int col2); |
24 void gui_update_cursor_later __ARGS((void)); | 24 void gui_update_cursor_later(void); |
25 void gui_write __ARGS((char_u *s, int len)); | 25 void gui_write(char_u *s, int len); |
26 void gui_dont_update_cursor __ARGS((void)); | 26 void gui_dont_update_cursor(void); |
27 void gui_can_update_cursor __ARGS((void)); | 27 void gui_can_update_cursor(void); |
28 int gui_outstr_nowrap __ARGS((char_u *s, int len, int flags, guicolor_T fg, guicolor_T bg, int back)); | 28 int gui_outstr_nowrap(char_u *s, int len, int flags, guicolor_T fg, guicolor_T bg, int back); |
29 void gui_undraw_cursor __ARGS((void)); | 29 void gui_undraw_cursor(void); |
30 void gui_redraw __ARGS((int x, int y, int w, int h)); | 30 void gui_redraw(int x, int y, int w, int h); |
31 int gui_redraw_block __ARGS((int row1, int col1, int row2, int col2, int flags)); | 31 int gui_redraw_block(int row1, int col1, int row2, int col2, int flags); |
32 int gui_wait_for_chars __ARGS((long wtime)); | 32 int gui_wait_for_chars(long wtime); |
33 void gui_send_mouse_event __ARGS((int button, int x, int y, int repeated_click, int_u modifiers)); | 33 void gui_send_mouse_event(int button, int x, int y, int repeated_click, int_u modifiers); |
34 int gui_xy2colrow __ARGS((int x, int y, int *colp)); | 34 int gui_xy2colrow(int x, int y, int *colp); |
35 void gui_menu_cb __ARGS((vimmenu_T *menu)); | 35 void gui_menu_cb(vimmenu_T *menu); |
36 void gui_init_which_components __ARGS((char_u *oldval)); | 36 void gui_init_which_components(char_u *oldval); |
37 int gui_use_tabline __ARGS((void)); | 37 int gui_use_tabline(void); |
38 void gui_update_tabline __ARGS((void)); | 38 void gui_update_tabline(void); |
39 void get_tabline_label __ARGS((tabpage_T *tp, int tooltip)); | 39 void get_tabline_label(tabpage_T *tp, int tooltip); |
40 int send_tabline_event __ARGS((int nr)); | 40 int send_tabline_event(int nr); |
41 void send_tabline_menu_event __ARGS((int tabidx, int event)); | 41 void send_tabline_menu_event(int tabidx, int event); |
42 void gui_remove_scrollbars __ARGS((void)); | 42 void gui_remove_scrollbars(void); |
43 void gui_create_scrollbar __ARGS((scrollbar_T *sb, int type, win_T *wp)); | 43 void gui_create_scrollbar(scrollbar_T *sb, int type, win_T *wp); |
44 scrollbar_T *gui_find_scrollbar __ARGS((long ident)); | 44 scrollbar_T *gui_find_scrollbar(long ident); |
45 void gui_drag_scrollbar __ARGS((scrollbar_T *sb, long value, int still_dragging)); | 45 void gui_drag_scrollbar(scrollbar_T *sb, long value, int still_dragging); |
46 void gui_may_update_scrollbars __ARGS((void)); | 46 void gui_may_update_scrollbars(void); |
47 void gui_update_scrollbars __ARGS((int force)); | 47 void gui_update_scrollbars(int force); |
48 int gui_do_scroll __ARGS((void)); | 48 int gui_do_scroll(void); |
49 int gui_do_horiz_scroll __ARGS((long_u leftcol, int compute_longest_lnum)); | 49 int gui_do_horiz_scroll(long_u leftcol, int compute_longest_lnum); |
50 void gui_check_colors __ARGS((void)); | 50 void gui_check_colors(void); |
51 guicolor_T gui_get_color __ARGS((char_u *name)); | 51 guicolor_T gui_get_color(char_u *name); |
52 int gui_get_lightness __ARGS((guicolor_T pixel)); | 52 int gui_get_lightness(guicolor_T pixel); |
53 void gui_new_scrollbar_colors __ARGS((void)); | 53 void gui_new_scrollbar_colors(void); |
54 void gui_focus_change __ARGS((int in_focus)); | 54 void gui_focus_change(int in_focus); |
55 void gui_mouse_moved __ARGS((int x, int y)); | 55 void gui_mouse_moved(int x, int y); |
56 void gui_mouse_correct __ARGS((void)); | 56 void gui_mouse_correct(void); |
57 void ex_gui __ARGS((exarg_T *eap)); | 57 void ex_gui(exarg_T *eap); |
58 int gui_find_bitmap __ARGS((char_u *name, char_u *buffer, char *ext)); | 58 int gui_find_bitmap(char_u *name, char_u *buffer, char *ext); |
59 void gui_find_iconfile __ARGS((char_u *name, char_u *buffer, char *ext)); | 59 void gui_find_iconfile(char_u *name, char_u *buffer, char *ext); |
60 void display_errors __ARGS((void)); | 60 void display_errors(void); |
61 int no_console_input __ARGS((void)); | 61 int no_console_input(void); |
62 void gui_update_screen __ARGS((void)); | 62 void gui_update_screen(void); |
63 char_u *get_find_dialog_text __ARGS((char_u *arg, int *wwordp, int *mcasep)); | 63 char_u *get_find_dialog_text(char_u *arg, int *wwordp, int *mcasep); |
64 int gui_do_findrepl __ARGS((int flags, char_u *find_text, char_u *repl_text, int down)); | 64 int gui_do_findrepl(int flags, char_u *find_text, char_u *repl_text, int down); |
65 void gui_handle_drop __ARGS((int x, int y, int_u modifiers, char_u **fnames, int count)); | 65 void gui_handle_drop(int x, int y, int_u modifiers, char_u **fnames, int count); |
66 /* vim: set ft=c : */ | 66 /* vim: set ft=c : */ |