Mercurial > vim
comparison src/proto/gui_x11.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 | 96cd8222a819 |
children | bb86514cad15 |
comparison
equal
deleted
inserted
replaced
7667:201b9c7e3df7 | 7668:21b0a39d13ed |
---|---|
1 /* gui_x11.c */ | 1 /* gui_x11.c */ |
2 void gui_x11_key_hit_cb __ARGS((Widget w, XtPointer dud, XEvent *event, Boolean *dum)); | 2 void gui_x11_key_hit_cb(Widget w, XtPointer dud, XEvent *event, Boolean *dum); |
3 void gui_mch_prepare __ARGS((int *argc, char **argv)); | 3 void gui_mch_prepare(int *argc, char **argv); |
4 int gui_mch_init_check __ARGS((void)); | 4 int gui_mch_init_check(void); |
5 int gui_mch_init __ARGS((void)); | 5 int gui_mch_init(void); |
6 void gui_mch_uninit __ARGS((void)); | 6 void gui_mch_uninit(void); |
7 void gui_mch_new_colors __ARGS((void)); | 7 void gui_mch_new_colors(void); |
8 int gui_mch_open __ARGS((void)); | 8 int gui_mch_open(void); |
9 void gui_init_tooltip_font __ARGS((void)); | 9 void gui_init_tooltip_font(void); |
10 void gui_init_menu_font __ARGS((void)); | 10 void gui_init_menu_font(void); |
11 void gui_mch_exit __ARGS((int rc)); | 11 void gui_mch_exit(int rc); |
12 int gui_mch_get_winpos __ARGS((int *x, int *y)); | 12 int gui_mch_get_winpos(int *x, int *y); |
13 void gui_mch_set_winpos __ARGS((int x, int y)); | 13 void gui_mch_set_winpos(int x, int y); |
14 void gui_mch_set_shellsize __ARGS((int width, int height, int min_width, int min_height, int base_width, int base_height, int direction)); | 14 void gui_mch_set_shellsize(int width, int height, int min_width, int min_height, int base_width, int base_height, int direction); |
15 void gui_mch_get_screen_dimensions __ARGS((int *screen_w, int *screen_h)); | 15 void gui_mch_get_screen_dimensions(int *screen_w, int *screen_h); |
16 int gui_mch_init_font __ARGS((char_u *font_name, int do_fontset)); | 16 int gui_mch_init_font(char_u *font_name, int do_fontset); |
17 GuiFont gui_mch_get_font __ARGS((char_u *name, int giveErrorIfMissing)); | 17 GuiFont gui_mch_get_font(char_u *name, int giveErrorIfMissing); |
18 char_u *gui_mch_get_fontname __ARGS((GuiFont font, char_u *name)); | 18 char_u *gui_mch_get_fontname(GuiFont font, char_u *name); |
19 int gui_mch_adjust_charheight __ARGS((void)); | 19 int gui_mch_adjust_charheight(void); |
20 void gui_mch_set_font __ARGS((GuiFont font)); | 20 void gui_mch_set_font(GuiFont font); |
21 void gui_mch_set_fontset __ARGS((GuiFontset fontset)); | 21 void gui_mch_set_fontset(GuiFontset fontset); |
22 void gui_mch_free_font __ARGS((GuiFont font)); | 22 void gui_mch_free_font(GuiFont font); |
23 void gui_mch_free_fontset __ARGS((GuiFontset fontset)); | 23 void gui_mch_free_fontset(GuiFontset fontset); |
24 GuiFontset gui_mch_get_fontset __ARGS((char_u *name, int giveErrorIfMissing, int fixed_width)); | 24 GuiFontset gui_mch_get_fontset(char_u *name, int giveErrorIfMissing, int fixed_width); |
25 int fontset_height __ARGS((XFontSet fs)); | 25 int fontset_height(XFontSet fs); |
26 int fontset_height2 __ARGS((XFontSet fs)); | 26 int fontset_height2(XFontSet fs); |
27 guicolor_T gui_mch_get_color __ARGS((char_u *reqname)); | 27 guicolor_T gui_mch_get_color(char_u *reqname); |
28 void gui_mch_set_fg_color __ARGS((guicolor_T color)); | 28 void gui_mch_set_fg_color(guicolor_T color); |
29 void gui_mch_set_bg_color __ARGS((guicolor_T color)); | 29 void gui_mch_set_bg_color(guicolor_T color); |
30 void gui_mch_set_sp_color __ARGS((guicolor_T color)); | 30 void gui_mch_set_sp_color(guicolor_T color); |
31 void gui_mch_draw_string __ARGS((int row, int col, char_u *s, int len, int flags)); | 31 void gui_mch_draw_string(int row, int col, char_u *s, int len, int flags); |
32 int gui_mch_haskey __ARGS((char_u *name)); | 32 int gui_mch_haskey(char_u *name); |
33 int gui_get_x11_windis __ARGS((Window *win, Display **dis)); | 33 int gui_get_x11_windis(Window *win, Display **dis); |
34 void gui_mch_beep __ARGS((void)); | 34 void gui_mch_beep(void); |
35 void gui_mch_flash __ARGS((int msec)); | 35 void gui_mch_flash(int msec); |
36 void gui_mch_invert_rectangle __ARGS((int r, int c, int nr, int nc)); | 36 void gui_mch_invert_rectangle(int r, int c, int nr, int nc); |
37 void gui_mch_iconify __ARGS((void)); | 37 void gui_mch_iconify(void); |
38 void gui_mch_set_foreground __ARGS((void)); | 38 void gui_mch_set_foreground(void); |
39 void gui_mch_draw_hollow_cursor __ARGS((guicolor_T color)); | 39 void gui_mch_draw_hollow_cursor(guicolor_T color); |
40 void gui_mch_draw_part_cursor __ARGS((int w, int h, guicolor_T color)); | 40 void gui_mch_draw_part_cursor(int w, int h, guicolor_T color); |
41 void gui_mch_update __ARGS((void)); | 41 void gui_mch_update(void); |
42 int gui_mch_wait_for_chars __ARGS((long wtime)); | 42 int gui_mch_wait_for_chars(long wtime); |
43 void gui_mch_flush __ARGS((void)); | 43 void gui_mch_flush(void); |
44 void gui_mch_clear_block __ARGS((int row1, int col1, int row2, int col2)); | 44 void gui_mch_clear_block(int row1, int col1, int row2, int col2); |
45 void gui_mch_clear_all __ARGS((void)); | 45 void gui_mch_clear_all(void); |
46 void gui_mch_delete_lines __ARGS((int row, int num_lines)); | 46 void gui_mch_delete_lines(int row, int num_lines); |
47 void gui_mch_insert_lines __ARGS((int row, int num_lines)); | 47 void gui_mch_insert_lines(int row, int num_lines); |
48 void clip_mch_lose_selection __ARGS((VimClipboard *cbd)); | 48 void clip_mch_lose_selection(VimClipboard *cbd); |
49 int clip_mch_own_selection __ARGS((VimClipboard *cbd)); | 49 int clip_mch_own_selection(VimClipboard *cbd); |
50 void clip_mch_request_selection __ARGS((VimClipboard *cbd)); | 50 void clip_mch_request_selection(VimClipboard *cbd); |
51 void clip_mch_set_selection __ARGS((VimClipboard *cbd)); | 51 void clip_mch_set_selection(VimClipboard *cbd); |
52 void gui_mch_menu_grey __ARGS((vimmenu_T *menu, int grey)); | 52 void gui_mch_menu_grey(vimmenu_T *menu, int grey); |
53 void gui_mch_menu_hidden __ARGS((vimmenu_T *menu, int hidden)); | 53 void gui_mch_menu_hidden(vimmenu_T *menu, int hidden); |
54 void gui_mch_draw_menubar __ARGS((void)); | 54 void gui_mch_draw_menubar(void); |
55 void gui_x11_menu_cb __ARGS((Widget w, XtPointer client_data, XtPointer call_data)); | 55 void gui_x11_menu_cb(Widget w, XtPointer client_data, XtPointer call_data); |
56 void gui_mch_set_blinking __ARGS((long waittime, long on, long off)); | 56 void gui_mch_set_blinking(long waittime, long on, long off); |
57 void gui_mch_stop_blink __ARGS((void)); | 57 void gui_mch_stop_blink(void); |
58 void gui_mch_start_blink __ARGS((void)); | 58 void gui_mch_start_blink(void); |
59 long_u gui_mch_get_rgb __ARGS((guicolor_T pixel)); | 59 long_u gui_mch_get_rgb(guicolor_T pixel); |
60 void gui_x11_callbacks __ARGS((Widget textArea, Widget vimForm)); | 60 void gui_x11_callbacks(Widget textArea, Widget vimForm); |
61 void gui_mch_getmouse __ARGS((int *x, int *y)); | 61 void gui_mch_getmouse(int *x, int *y); |
62 void gui_mch_setmouse __ARGS((int x, int y)); | 62 void gui_mch_setmouse(int x, int y); |
63 XButtonPressedEvent *gui_x11_get_last_mouse_event __ARGS((void)); | 63 XButtonPressedEvent *gui_x11_get_last_mouse_event(void); |
64 void gui_mch_drawsign __ARGS((int row, int col, int typenr)); | 64 void gui_mch_drawsign(int row, int col, int typenr); |
65 void *gui_mch_register_sign __ARGS((char_u *signfile)); | 65 void *gui_mch_register_sign(char_u *signfile); |
66 void gui_mch_destroy_sign __ARGS((void *sign)); | 66 void gui_mch_destroy_sign(void *sign); |
67 void gui_mch_mousehide __ARGS((int hide)); | 67 void gui_mch_mousehide(int hide); |
68 void mch_set_mouse_shape __ARGS((int shape)); | 68 void mch_set_mouse_shape(int shape); |
69 void gui_mch_menu_set_tip __ARGS((vimmenu_T *menu)); | 69 void gui_mch_menu_set_tip(vimmenu_T *menu); |
70 /* vim: set ft=c : */ | 70 /* vim: set ft=c : */ |