Mercurial > vim
comparison src/proto/menu.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 | d0830c09ed10 |
children | 3f16cf18386c |
comparison
equal
deleted
inserted
replaced
7667:201b9c7e3df7 | 7668:21b0a39d13ed |
---|---|
1 /* menu.c */ | 1 /* menu.c */ |
2 void ex_menu __ARGS((exarg_T *eap)); | 2 void ex_menu(exarg_T *eap); |
3 char_u *set_context_in_menu_cmd __ARGS((expand_T *xp, char_u *cmd, char_u *arg, int forceit)); | 3 char_u *set_context_in_menu_cmd(expand_T *xp, char_u *cmd, char_u *arg, int forceit); |
4 char_u *get_menu_name __ARGS((expand_T *xp, int idx)); | 4 char_u *get_menu_name(expand_T *xp, int idx); |
5 char_u *get_menu_names __ARGS((expand_T *xp, int idx)); | 5 char_u *get_menu_names(expand_T *xp, int idx); |
6 char_u *menu_name_skip __ARGS((char_u *name)); | 6 char_u *menu_name_skip(char_u *name); |
7 int get_menu_index __ARGS((vimmenu_T *menu, int state)); | 7 int get_menu_index(vimmenu_T *menu, int state); |
8 int menu_is_menubar __ARGS((char_u *name)); | 8 int menu_is_menubar(char_u *name); |
9 int menu_is_popup __ARGS((char_u *name)); | 9 int menu_is_popup(char_u *name); |
10 int menu_is_child_of_popup __ARGS((vimmenu_T *menu)); | 10 int menu_is_child_of_popup(vimmenu_T *menu); |
11 int menu_is_toolbar __ARGS((char_u *name)); | 11 int menu_is_toolbar(char_u *name); |
12 int menu_is_separator __ARGS((char_u *name)); | 12 int menu_is_separator(char_u *name); |
13 int check_menu_pointer __ARGS((vimmenu_T *root, vimmenu_T *menu_to_check)); | 13 int check_menu_pointer(vimmenu_T *root, vimmenu_T *menu_to_check); |
14 void gui_create_initial_menus __ARGS((vimmenu_T *menu)); | 14 void gui_create_initial_menus(vimmenu_T *menu); |
15 void gui_update_menus __ARGS((int modes)); | 15 void gui_update_menus(int modes); |
16 int gui_is_menu_shortcut __ARGS((int key)); | 16 int gui_is_menu_shortcut(int key); |
17 void gui_show_popupmenu __ARGS((void)); | 17 void gui_show_popupmenu(void); |
18 void gui_mch_toggle_tearoffs __ARGS((int enable)); | 18 void gui_mch_toggle_tearoffs(int enable); |
19 void ex_emenu __ARGS((exarg_T *eap)); | 19 void ex_emenu(exarg_T *eap); |
20 vimmenu_T *gui_find_menu __ARGS((char_u *path_name)); | 20 vimmenu_T *gui_find_menu(char_u *path_name); |
21 void ex_menutranslate __ARGS((exarg_T *eap)); | 21 void ex_menutranslate(exarg_T *eap); |
22 /* vim: set ft=c : */ | 22 /* vim: set ft=c : */ |