comparison src/proto/getchar.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 975d96776111
children c19eb05b19df
comparison
equal deleted inserted replaced
7667:201b9c7e3df7 7668:21b0a39d13ed
1 /* getchar.c */ 1 /* getchar.c */
2 void free_buff __ARGS((buffheader_T *buf)); 2 void free_buff(buffheader_T *buf);
3 char_u *get_recorded __ARGS((void)); 3 char_u *get_recorded(void);
4 char_u *get_inserted __ARGS((void)); 4 char_u *get_inserted(void);
5 int stuff_empty __ARGS((void)); 5 int stuff_empty(void);
6 int readbuf1_empty __ARGS((void)); 6 int readbuf1_empty(void);
7 void typeahead_noflush __ARGS((int c)); 7 void typeahead_noflush(int c);
8 void flush_buffers __ARGS((int flush_typeahead)); 8 void flush_buffers(int flush_typeahead);
9 void ResetRedobuff __ARGS((void)); 9 void ResetRedobuff(void);
10 void CancelRedo __ARGS((void)); 10 void CancelRedo(void);
11 void saveRedobuff __ARGS((void)); 11 void saveRedobuff(void);
12 void restoreRedobuff __ARGS((void)); 12 void restoreRedobuff(void);
13 void AppendToRedobuff __ARGS((char_u *s)); 13 void AppendToRedobuff(char_u *s);
14 void AppendToRedobuffLit __ARGS((char_u *str, int len)); 14 void AppendToRedobuffLit(char_u *str, int len);
15 void AppendCharToRedobuff __ARGS((int c)); 15 void AppendCharToRedobuff(int c);
16 void AppendNumberToRedobuff __ARGS((long n)); 16 void AppendNumberToRedobuff(long n);
17 void stuffReadbuff __ARGS((char_u *s)); 17 void stuffReadbuff(char_u *s);
18 void stuffRedoReadbuff __ARGS((char_u *s)); 18 void stuffRedoReadbuff(char_u *s);
19 void stuffReadbuffLen __ARGS((char_u *s, long len)); 19 void stuffReadbuffLen(char_u *s, long len);
20 void stuffReadbuffSpec __ARGS((char_u *s)); 20 void stuffReadbuffSpec(char_u *s);
21 void stuffcharReadbuff __ARGS((int c)); 21 void stuffcharReadbuff(int c);
22 void stuffnumReadbuff __ARGS((long n)); 22 void stuffnumReadbuff(long n);
23 int start_redo __ARGS((long count, int old_redo)); 23 int start_redo(long count, int old_redo);
24 int start_redo_ins __ARGS((void)); 24 int start_redo_ins(void);
25 void stop_redo_ins __ARGS((void)); 25 void stop_redo_ins(void);
26 int ins_typebuf __ARGS((char_u *str, int noremap, int offset, int nottyped, int silent)); 26 int ins_typebuf(char_u *str, int noremap, int offset, int nottyped, int silent);
27 void ins_char_typebuf __ARGS((int c)); 27 void ins_char_typebuf(int c);
28 int typebuf_changed __ARGS((int tb_change_cnt)); 28 int typebuf_changed(int tb_change_cnt);
29 int typebuf_typed __ARGS((void)); 29 int typebuf_typed(void);
30 int typebuf_maplen __ARGS((void)); 30 int typebuf_maplen(void);
31 void del_typebuf __ARGS((int len, int offset)); 31 void del_typebuf(int len, int offset);
32 int alloc_typebuf __ARGS((void)); 32 int alloc_typebuf(void);
33 void free_typebuf __ARGS((void)); 33 void free_typebuf(void);
34 int save_typebuf __ARGS((void)); 34 int save_typebuf(void);
35 void save_typeahead __ARGS((tasave_T *tp)); 35 void save_typeahead(tasave_T *tp);
36 void restore_typeahead __ARGS((tasave_T *tp)); 36 void restore_typeahead(tasave_T *tp);
37 void openscript __ARGS((char_u *name, int directly)); 37 void openscript(char_u *name, int directly);
38 void close_all_scripts __ARGS((void)); 38 void close_all_scripts(void);
39 int using_script __ARGS((void)); 39 int using_script(void);
40 void before_blocking __ARGS((void)); 40 void before_blocking(void);
41 void updatescript __ARGS((int c)); 41 void updatescript(int c);
42 int vgetc __ARGS((void)); 42 int vgetc(void);
43 int safe_vgetc __ARGS((void)); 43 int safe_vgetc(void);
44 int plain_vgetc __ARGS((void)); 44 int plain_vgetc(void);
45 int vpeekc __ARGS((void)); 45 int vpeekc(void);
46 int vpeekc_nomap __ARGS((void)); 46 int vpeekc_nomap(void);
47 int vpeekc_any __ARGS((void)); 47 int vpeekc_any(void);
48 int char_avail __ARGS((void)); 48 int char_avail(void);
49 void vungetc __ARGS((int c)); 49 void vungetc(int c);
50 int inchar __ARGS((char_u *buf, int maxlen, long wait_time, int tb_change_cnt)); 50 int inchar(char_u *buf, int maxlen, long wait_time, int tb_change_cnt);
51 int fix_input_buffer __ARGS((char_u *buf, int len, int script)); 51 int fix_input_buffer(char_u *buf, int len, int script);
52 int input_available __ARGS((void)); 52 int input_available(void);
53 int do_map __ARGS((int maptype, char_u *arg, int mode, int abbrev)); 53 int do_map(int maptype, char_u *arg, int mode, int abbrev);
54 int get_map_mode __ARGS((char_u **cmdp, int forceit)); 54 int get_map_mode(char_u **cmdp, int forceit);
55 void map_clear __ARGS((char_u *cmdp, char_u *arg, int forceit, int abbr)); 55 void map_clear(char_u *cmdp, char_u *arg, int forceit, int abbr);
56 void map_clear_int __ARGS((buf_T *buf, int mode, int local, int abbr)); 56 void map_clear_int(buf_T *buf, int mode, int local, int abbr);
57 char_u *map_mode_to_chars __ARGS((int mode)); 57 char_u *map_mode_to_chars(int mode);
58 int map_to_exists __ARGS((char_u *str, char_u *modechars, int abbr)); 58 int map_to_exists(char_u *str, char_u *modechars, int abbr);
59 int map_to_exists_mode __ARGS((char_u *rhs, int mode, int abbr)); 59 int map_to_exists_mode(char_u *rhs, int mode, int abbr);
60 char_u *set_context_in_map_cmd __ARGS((expand_T *xp, char_u *cmd, char_u *arg, int forceit, int isabbrev, int isunmap, cmdidx_T cmdidx)); 60 char_u *set_context_in_map_cmd(expand_T *xp, char_u *cmd, char_u *arg, int forceit, int isabbrev, int isunmap, cmdidx_T cmdidx);
61 int ExpandMappings __ARGS((regmatch_T *regmatch, int *num_file, char_u ***file)); 61 int ExpandMappings(regmatch_T *regmatch, int *num_file, char_u ***file);
62 int check_abbr __ARGS((int c, char_u *ptr, int col, int mincol)); 62 int check_abbr(int c, char_u *ptr, int col, int mincol);
63 char_u *vim_strsave_escape_csi __ARGS((char_u *p)); 63 char_u *vim_strsave_escape_csi(char_u *p);
64 void vim_unescape_csi __ARGS((char_u *p)); 64 void vim_unescape_csi(char_u *p);
65 int makemap __ARGS((FILE *fd, buf_T *buf)); 65 int makemap(FILE *fd, buf_T *buf);
66 int put_escstr __ARGS((FILE *fd, char_u *strstart, int what)); 66 int put_escstr(FILE *fd, char_u *strstart, int what);
67 void check_map_keycodes __ARGS((void)); 67 void check_map_keycodes(void);
68 char_u *check_map __ARGS((char_u *keys, int mode, int exact, int ign_mod, int abbr, mapblock_T **mp_ptr, int *local_ptr)); 68 char_u *check_map(char_u *keys, int mode, int exact, int ign_mod, int abbr, mapblock_T **mp_ptr, int *local_ptr);
69 void init_mappings __ARGS((void)); 69 void init_mappings(void);
70 void add_map __ARGS((char_u *map, int mode)); 70 void add_map(char_u *map, int mode);
71 /* vim: set ft=c : */ 71 /* vim: set ft=c : */