diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-05-05 18:24:42 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-05-05 18:24:42 +0000 |
commit | c81e5e79a0f2f5c2ac1896fa51cbe47e2e2a8d97 (patch) | |
tree | 5211ea86daed8e43c3dd25458e808c3d32100097 /src/proto | |
parent | 9aae141a6bcfc26bcce352deb8bf34566a3e1be2 (diff) |
updated for version 7.1a
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/edit.pro | 78 | ||||
-rw-r--r-- | src/proto/ex_cmds.pro | 114 | ||||
-rw-r--r-- | src/proto/ex_cmds2.pro | 162 | ||||
-rw-r--r-- | src/proto/gui_beval.pro | 18 | ||||
-rw-r--r-- | src/proto/gui_motif.pro | 88 | ||||
-rw-r--r-- | src/proto/gui_x11.pro | 136 | ||||
-rw-r--r-- | src/proto/hangulin.pro | 14 | ||||
-rw-r--r-- | src/proto/if_perl.pro | 14 | ||||
-rw-r--r-- | src/proto/if_python.pro | 12 | ||||
-rw-r--r-- | src/proto/if_ruby.pro | 14 | ||||
-rw-r--r-- | src/proto/if_xcmdsrv.pro | 18 | ||||
-rw-r--r-- | src/proto/mbyte.pro | 178 | ||||
-rw-r--r-- | src/proto/memline.pro | 62 | ||||
-rw-r--r-- | src/proto/misc1.pro | 186 | ||||
-rw-r--r-- | src/proto/move.pro | 76 | ||||
-rw-r--r-- | src/proto/os_msdos.pro | 92 | ||||
-rw-r--r-- | src/proto/os_unix.pro | 142 | ||||
-rw-r--r-- | src/proto/os_win32.pro | 104 | ||||
-rw-r--r-- | src/proto/quickfix.pro | 56 | ||||
-rw-r--r-- | src/proto/screen.pro | 96 | ||||
-rw-r--r-- | src/proto/search.pro | 68 | ||||
-rw-r--r-- | src/proto/term.pro | 116 | ||||
-rw-r--r-- | src/proto/termlib.pro | 12 |
23 files changed, 928 insertions, 928 deletions
diff --git a/src/proto/edit.pro b/src/proto/edit.pro index 3c76a9ebdc..a967037cb7 100644 --- a/src/proto/edit.pro +++ b/src/proto/edit.pro @@ -1,41 +1,41 @@ /* edit.c */ -extern int edit __ARGS((int cmdchar, int startln, long count)); -extern void edit_putchar __ARGS((int c, int highlight)); -extern void edit_unputchar __ARGS((void)); -extern void display_dollar __ARGS((colnr_T col)); -extern void change_indent __ARGS((int type, int amount, int round, int replaced)); -extern void truncate_spaces __ARGS((char_u *line)); -extern void backspace_until_column __ARGS((int col)); -extern int vim_is_ctrl_x_key __ARGS((int c)); -extern int ins_compl_add_infercase __ARGS((char_u *str, int len, int icase, char_u *fname, int dir, int flags)); -extern void set_completion __ARGS((int startcol, list_T *list)); -extern void ins_compl_show_pum __ARGS((void)); -extern char_u *find_word_start __ARGS((char_u *ptr)); -extern char_u *find_word_end __ARGS((char_u *ptr)); -extern int ins_compl_active __ARGS((void)); -extern int ins_compl_add_tv __ARGS((typval_T *tv, int dir)); -extern void ins_compl_check_keys __ARGS((int frequency)); -extern int get_literal __ARGS((void)); -extern void insertchar __ARGS((int c, int flags, int second_indent)); -extern void auto_format __ARGS((int trailblank, int prev_line)); -extern int comp_textwidth __ARGS((int ff)); -extern int stop_arrow __ARGS((void)); -extern void set_last_insert __ARGS((int c)); -extern void free_last_insert __ARGS((void)); -extern char_u *add_char2buf __ARGS((int c, char_u *s)); -extern void beginline __ARGS((int flags)); -extern int oneright __ARGS((void)); -extern int oneleft __ARGS((void)); -extern int cursor_up __ARGS((long n, int upd_topline)); -extern int cursor_down __ARGS((long n, int upd_topline)); -extern int stuff_inserted __ARGS((int c, long count, int no_esc)); -extern char_u *get_last_insert __ARGS((void)); -extern char_u *get_last_insert_save __ARGS((void)); -extern void replace_push __ARGS((int c)); -extern void fixthisline __ARGS((int (*get_the_indent)(void))); -extern void fix_indent __ARGS((void)); -extern int in_cinkeys __ARGS((int keytyped, int when, int line_is_empty)); -extern int hkmap __ARGS((int c)); -extern void ins_scroll __ARGS((void)); -extern void ins_horscroll __ARGS((void)); +int edit __ARGS((int cmdchar, int startln, long count)); +void edit_putchar __ARGS((int c, int highlight)); +void edit_unputchar __ARGS((void)); +void display_dollar __ARGS((colnr_T col)); +void change_indent __ARGS((int type, int amount, int round, int replaced)); +void truncate_spaces __ARGS((char_u *line)); +void backspace_until_column __ARGS((int col)); +int vim_is_ctrl_x_key __ARGS((int c)); +int ins_compl_add_infercase __ARGS((char_u *str, int len, int icase, char_u *fname, int dir, int flags)); +void set_completion __ARGS((int startcol, list_T *list)); +void ins_compl_show_pum __ARGS((void)); +char_u *find_word_start __ARGS((char_u *ptr)); +char_u *find_word_end __ARGS((char_u *ptr)); +int ins_compl_active __ARGS((void)); +int ins_compl_add_tv __ARGS((typval_T *tv, int dir)); +void ins_compl_check_keys __ARGS((int frequency)); +int get_literal __ARGS((void)); +void insertchar __ARGS((int c, int flags, int second_indent)); +void auto_format __ARGS((int trailblank, int prev_line)); +int comp_textwidth __ARGS((int ff)); +int stop_arrow __ARGS((void)); +void set_last_insert __ARGS((int c)); +void free_last_insert __ARGS((void)); +char_u *add_char2buf __ARGS((int c, char_u *s)); +void beginline __ARGS((int flags)); +int oneright __ARGS((void)); +int oneleft __ARGS((void)); +int cursor_up __ARGS((long n, int upd_topline)); +int cursor_down __ARGS((long n, int upd_topline)); +int stuff_inserted __ARGS((int c, long count, int no_esc)); +char_u *get_last_insert __ARGS((void)); +char_u *get_last_insert_save __ARGS((void)); +void replace_push __ARGS((int c)); +void fixthisline __ARGS((int (*get_the_indent)(void))); +void fix_indent __ARGS((void)); +int in_cinkeys __ARGS((int keytyped, int when, int line_is_empty)); +int hkmap __ARGS((int c)); +void ins_scroll __ARGS((void)); +void ins_horscroll __ARGS((void)); /* vim: set ft=c : */ diff --git a/src/proto/ex_cmds.pro b/src/proto/ex_cmds.pro index 7582dffab1..4382e6530a 100644 --- a/src/proto/ex_cmds.pro +++ b/src/proto/ex_cmds.pro @@ -1,59 +1,59 @@ /* ex_cmds.c */ -extern void do_ascii __ARGS((exarg_T *eap)); -extern void ex_align __ARGS((exarg_T *eap)); -extern void ex_sort __ARGS((exarg_T *eap)); -extern void ex_retab __ARGS((exarg_T *eap)); -extern int do_move __ARGS((linenr_T line1, linenr_T line2, linenr_T dest)); -extern void ex_copy __ARGS((linenr_T line1, linenr_T line2, linenr_T n)); -extern void free_prev_shellcmd __ARGS((void)); -extern void do_bang __ARGS((int addr_count, exarg_T *eap, int forceit, int do_in, int do_out)); -extern void do_shell __ARGS((char_u *cmd, int flags)); -extern char_u *make_filter_cmd __ARGS((char_u *cmd, char_u *itmp, char_u *otmp)); -extern void append_redir __ARGS((char_u *buf, char_u *opt, char_u *fname)); -extern int viminfo_error __ARGS((char *errnum, char *message, char_u *line)); -extern int read_viminfo __ARGS((char_u *file, int want_info, int want_marks, int forceit)); -extern void write_viminfo __ARGS((char_u *file, int forceit)); -extern int viminfo_readline __ARGS((vir_T *virp)); -extern char_u *viminfo_readstring __ARGS((vir_T *virp, int off, int convert)); -extern void viminfo_writestring __ARGS((FILE *fd, char_u *p)); -extern void do_fixdel __ARGS((exarg_T *eap)); -extern void print_line_no_prefix __ARGS((linenr_T lnum, int use_number, int list)); -extern void print_line __ARGS((linenr_T lnum, int use_number, int list)); -extern void ex_file __ARGS((exarg_T *eap)); -extern void ex_update __ARGS((exarg_T *eap)); -extern void ex_write __ARGS((exarg_T *eap)); -extern int do_write __ARGS((exarg_T *eap)); -extern void ex_wnext __ARGS((exarg_T *eap)); -extern void do_wqall __ARGS((exarg_T *eap)); -extern int not_writing __ARGS((void)); -extern int getfile __ARGS((int fnum, char_u *ffname, char_u *sfname, int setpm, linenr_T lnum, int forceit)); -extern int do_ecmd __ARGS((int fnum, char_u *ffname, char_u *sfname, exarg_T *eap, linenr_T newlnum, int flags)); -extern void ex_append __ARGS((exarg_T *eap)); -extern void ex_change __ARGS((exarg_T *eap)); -extern void ex_z __ARGS((exarg_T *eap)); -extern int check_restricted __ARGS((void)); -extern int check_secure __ARGS((void)); -extern void do_sub __ARGS((exarg_T *eap)); -extern int do_sub_msg __ARGS((int count_only)); -extern void ex_global __ARGS((exarg_T *eap)); -extern void global_exe __ARGS((char_u *cmd)); -extern int read_viminfo_sub_string __ARGS((vir_T *virp, int force)); -extern void write_viminfo_sub_string __ARGS((FILE *fp)); -extern void free_old_sub __ARGS((void)); -extern int prepare_tagpreview __ARGS((int undo_sync)); -extern void ex_help __ARGS((exarg_T *eap)); -extern char_u *check_help_lang __ARGS((char_u *arg)); -extern int help_heuristic __ARGS((char_u *matched_string, int offset, int wrong_case)); -extern int find_help_tags __ARGS((char_u *arg, int *num_matches, char_u ***matches, int keep_lang)); -extern void fix_help_buffer __ARGS((void)); -extern void ex_exusage __ARGS((exarg_T *eap)); -extern void ex_viusage __ARGS((exarg_T *eap)); -extern void ex_helptags __ARGS((exarg_T *eap)); -extern void ex_sign __ARGS((exarg_T *eap)); -extern void sign_gui_started __ARGS((void)); -extern int sign_get_attr __ARGS((int typenr, int line)); -extern char_u *sign_get_text __ARGS((int typenr)); -extern void *sign_get_image __ARGS((int typenr)); -extern char_u *sign_typenr2name __ARGS((int typenr)); -extern void ex_drop __ARGS((exarg_T *eap)); +void do_ascii __ARGS((exarg_T *eap)); +void ex_align __ARGS((exarg_T *eap)); +void ex_sort __ARGS((exarg_T *eap)); +void ex_retab __ARGS((exarg_T *eap)); +int do_move __ARGS((linenr_T line1, linenr_T line2, linenr_T dest)); +void ex_copy __ARGS((linenr_T line1, linenr_T line2, linenr_T n)); +void free_prev_shellcmd __ARGS((void)); +void do_bang __ARGS((int addr_count, exarg_T *eap, int forceit, int do_in, int do_out)); +void do_shell __ARGS((char_u *cmd, int flags)); +char_u *make_filter_cmd __ARGS((char_u *cmd, char_u *itmp, char_u *otmp)); +void append_redir __ARGS((char_u *buf, char_u *opt, char_u *fname)); +int viminfo_error __ARGS((char *errnum, char *message, char_u *line)); +int read_viminfo __ARGS((char_u *file, int want_info, int want_marks, int forceit)); +void write_viminfo __ARGS((char_u *file, int forceit)); +int viminfo_readline __ARGS((vir_T *virp)); +char_u *viminfo_readstring __ARGS((vir_T *virp, int off, int convert)); +void viminfo_writestring __ARGS((FILE *fd, char_u *p)); +void do_fixdel __ARGS((exarg_T *eap)); +void print_line_no_prefix __ARGS((linenr_T lnum, int use_number, int list)); +void print_line __ARGS((linenr_T lnum, int use_number, int list)); +void ex_file __ARGS((exarg_T *eap)); +void ex_update __ARGS((exarg_T *eap)); +void ex_write __ARGS((exarg_T *eap)); +int do_write __ARGS((exarg_T *eap)); +void ex_wnext __ARGS((exarg_T *eap)); +void do_wqall __ARGS((exarg_T *eap)); +int not_writing __ARGS((void)); +int getfile __ARGS((int fnum, char_u *ffname, char_u *sfname, int setpm, linenr_T lnum, int forceit)); +int do_ecmd __ARGS((int fnum, char_u *ffname, char_u *sfname, exarg_T *eap, linenr_T newlnum, int flags)); +void ex_append __ARGS((exarg_T *eap)); +void ex_change __ARGS((exarg_T *eap)); +void ex_z __ARGS((exarg_T *eap)); +int check_restricted __ARGS((void)); +int check_secure __ARGS((void)); +void do_sub __ARGS((exarg_T *eap)); +int do_sub_msg __ARGS((int count_only)); +void ex_global __ARGS((exarg_T *eap)); +void global_exe __ARGS((char_u *cmd)); +int read_viminfo_sub_string __ARGS((vir_T *virp, int force)); +void write_viminfo_sub_string __ARGS((FILE *fp)); +void free_old_sub __ARGS((void)); +int prepare_tagpreview __ARGS((int undo_sync)); +void ex_help __ARGS((exarg_T *eap)); +char_u *check_help_lang __ARGS((char_u *arg)); +int help_heuristic __ARGS((char_u *matched_string, int offset, int wrong_case)); +int find_help_tags __ARGS((char_u *arg, int *num_matches, char_u ***matches, int keep_lang)); +void fix_help_buffer __ARGS((void)); +void ex_exusage __ARGS((exarg_T *eap)); +void ex_viusage __ARGS((exarg_T *eap)); +void ex_helptags __ARGS((exarg_T *eap)); +void ex_sign __ARGS((exarg_T *eap)); +void sign_gui_started __ARGS((void)); +int sign_get_attr __ARGS((int typenr, int line)); +char_u *sign_get_text __ARGS((int typenr)); +void *sign_get_image __ARGS((int typenr)); +char_u *sign_typenr2name __ARGS((int typenr)); +void ex_drop __ARGS((exarg_T *eap)); /* vim: set ft=c : */ diff --git a/src/proto/ex_cmds2.pro b/src/proto/ex_cmds2.pro index 9c8932949b..11480f1ec0 100644 --- a/src/proto/ex_cmds2.pro +++ b/src/proto/ex_cmds2.pro @@ -1,83 +1,83 @@ /* ex_cmds2.c */ -extern void do_debug __ARGS((char_u *cmd)); -extern void ex_debug __ARGS((exarg_T *eap)); -extern void dbg_check_breakpoint __ARGS((exarg_T *eap)); -extern int dbg_check_skipped __ARGS((exarg_T *eap)); -extern void ex_breakadd __ARGS((exarg_T *eap)); -extern void ex_debuggreedy __ARGS((exarg_T *eap)); -extern void ex_breakdel __ARGS((exarg_T *eap)); -extern void ex_breaklist __ARGS((exarg_T *eap)); -extern linenr_T dbg_find_breakpoint __ARGS((int file, char_u *fname, linenr_T after)); -extern int has_profiling __ARGS((int file, char_u *fname, int *fp)); -extern void dbg_breakpoint __ARGS((char_u *name, linenr_T lnum)); -extern void profile_start __ARGS((proftime_T *tm)); -extern void profile_end __ARGS((proftime_T *tm)); -extern void profile_sub __ARGS((proftime_T *tm, proftime_T *tm2)); -extern char *profile_msg __ARGS((proftime_T *tm)); -extern void profile_zero __ARGS((proftime_T *tm)); -extern void profile_add __ARGS((proftime_T *tm, proftime_T *tm2)); -extern void profile_self __ARGS((proftime_T *self, proftime_T *total, proftime_T *children)); -extern void profile_get_wait __ARGS((proftime_T *tm)); -extern void profile_sub_wait __ARGS((proftime_T *tm, proftime_T *tma)); -extern int profile_equal __ARGS((proftime_T *tm1, proftime_T *tm2)); -extern int profile_cmp __ARGS((proftime_T *tm1, proftime_T *tm2)); -extern void ex_profile __ARGS((exarg_T *eap)); -extern void profile_dump __ARGS((void)); -extern void script_prof_save __ARGS((proftime_T *tm)); -extern void script_prof_restore __ARGS((proftime_T *tm)); -extern void prof_inchar_enter __ARGS((void)); -extern void prof_inchar_exit __ARGS((void)); -extern int prof_def_func __ARGS((void)); -extern int autowrite __ARGS((buf_T *buf, int forceit)); -extern void autowrite_all __ARGS((void)); -extern int check_changed __ARGS((buf_T *buf, int checkaw, int mult_win, int forceit, int allbuf)); -extern void browse_save_fname __ARGS((buf_T *buf)); -extern void dialog_changed __ARGS((buf_T *buf, int checkall)); -extern int can_abandon __ARGS((buf_T *buf, int forceit)); -extern int check_changed_any __ARGS((int hidden)); -extern int check_fname __ARGS((void)); -extern int buf_write_all __ARGS((buf_T *buf, int forceit)); -extern int get_arglist __ARGS((garray_T *gap, char_u *str)); -extern int get_arglist_exp __ARGS((char_u *str, int *fcountp, char_u ***fnamesp)); -extern void set_arglist __ARGS((char_u *str)); -extern void check_arg_idx __ARGS((win_T *win)); -extern void ex_args __ARGS((exarg_T *eap)); -extern void ex_previous __ARGS((exarg_T *eap)); -extern void ex_rewind __ARGS((exarg_T *eap)); -extern void ex_last __ARGS((exarg_T *eap)); -extern void ex_argument __ARGS((exarg_T *eap)); -extern void do_argfile __ARGS((exarg_T *eap, int argn)); -extern void ex_next __ARGS((exarg_T *eap)); -extern void ex_argedit __ARGS((exarg_T *eap)); -extern void ex_argadd __ARGS((exarg_T *eap)); -extern void ex_argdelete __ARGS((exarg_T *eap)); -extern void ex_listdo __ARGS((exarg_T *eap)); -extern void ex_compiler __ARGS((exarg_T *eap)); -extern void ex_runtime __ARGS((exarg_T *eap)); -extern int source_runtime __ARGS((char_u *name, int all)); -extern int do_in_runtimepath __ARGS((char_u *name, int all, void (*callback)(char_u *fname, void *ck), void *cookie)); -extern void ex_options __ARGS((exarg_T *eap)); -extern void ex_source __ARGS((exarg_T *eap)); -extern linenr_T *source_breakpoint __ARGS((void *cookie)); -extern int *source_dbg_tick __ARGS((void *cookie)); -extern int source_level __ARGS((void *cookie)); -extern int do_source __ARGS((char_u *fname, int check_other, int is_vimrc)); -extern void ex_scriptnames __ARGS((exarg_T *eap)); -extern void scriptnames_slash_adjust __ARGS((void)); -extern char_u *get_scriptname __ARGS((scid_T id)); -extern void free_scriptnames __ARGS((void)); -extern char *fgets_cr __ARGS((char *s, int n, FILE *stream)); -extern char_u *getsourceline __ARGS((int c, void *cookie, int indent)); -extern void script_line_start __ARGS((void)); -extern void script_line_exec __ARGS((void)); -extern void script_line_end __ARGS((void)); -extern void ex_scriptencoding __ARGS((exarg_T *eap)); -extern void ex_finish __ARGS((exarg_T *eap)); -extern void do_finish __ARGS((exarg_T *eap, int reanimate)); -extern int source_finished __ARGS((char_u *(*getline)(int, void *, int), void *cookie)); -extern void ex_checktime __ARGS((exarg_T *eap)); -extern char_u *get_mess_lang __ARGS((void)); -extern void set_lang_var __ARGS((void)); -extern void ex_language __ARGS((exarg_T *eap)); -extern char_u *get_lang_arg __ARGS((expand_T *xp, int idx)); +void do_debug __ARGS((char_u *cmd)); +void ex_debug __ARGS((exarg_T *eap)); +void dbg_check_breakpoint __ARGS((exarg_T *eap)); +int dbg_check_skipped __ARGS((exarg_T *eap)); +void ex_breakadd __ARGS((exarg_T *eap)); +void ex_debuggreedy __ARGS((exarg_T *eap)); +void ex_breakdel __ARGS((exarg_T *eap)); +void ex_breaklist __ARGS((exarg_T *eap)); +linenr_T dbg_find_breakpoint __ARGS((int file, char_u *fname, linenr_T after)); +int has_profiling __ARGS((int file, char_u *fname, int *fp)); +void dbg_breakpoint __ARGS((char_u *name, linenr_T lnum)); +void profile_start __ARGS((proftime_T *tm)); +void profile_end __ARGS((proftime_T *tm)); +void profile_sub __ARGS((proftime_T *tm, proftime_T *tm2)); +char *profile_msg __ARGS((proftime_T *tm)); +void profile_zero __ARGS((proftime_T *tm)); +void profile_add __ARGS((proftime_T *tm, proftime_T *tm2)); +void profile_self __ARGS((proftime_T *self, proftime_T *total, proftime_T *children)); +void profile_get_wait __ARGS((proftime_T *tm)); +void profile_sub_wait __ARGS((proftime_T *tm, proftime_T *tma)); +int profile_equal __ARGS((proftime_T *tm1, proftime_T *tm2)); +int profile_cmp __ARGS((proftime_T *tm1, proftime_T *tm2)); +void ex_profile __ARGS((exarg_T *eap)); +void profile_dump __ARGS((void)); +void script_prof_save __ARGS((proftime_T *tm)); +void script_prof_restore __ARGS((proftime_T *tm)); +void prof_inchar_enter __ARGS((void)); +void prof_inchar_exit __ARGS((void)); +int prof_def_func __ARGS((void)); +int autowrite __ARGS((buf_T *buf, int forceit)); +void autowrite_all __ARGS((void)); +int check_changed __ARGS((buf_T *buf, int checkaw, int mult_win, int forceit, int allbuf)); +void browse_save_fname __ARGS((buf_T *buf)); +void dialog_changed __ARGS((buf_T *buf, int checkall)); +int can_abandon __ARGS((buf_T *buf, int forceit)); +int check_changed_any __ARGS((int hidden)); +int check_fname __ARGS((void)); +int buf_write_all __ARGS((buf_T *buf, int forceit)); +int get_arglist __ARGS((garray_T *gap, char_u *str)); +int get_arglist_exp __ARGS((char_u *str, int *fcountp, char_u ***fnamesp)); +void set_arglist __ARGS((char_u *str)); +void check_arg_idx __ARGS((win_T *win)); +void ex_args __ARGS((exarg_T *eap)); +void ex_previous __ARGS((exarg_T *eap)); +void ex_rewind __ARGS((exarg_T *eap)); +void ex_last __ARGS((exarg_T *eap)); +void ex_argument __ARGS((exarg_T *eap)); +void do_argfile __ARGS((exarg_T *eap, int argn)); +void ex_next __ARGS((exarg_T *eap)); +void ex_argedit __ARGS((exarg_T *eap)); +void ex_argadd __ARGS((exarg_T *eap)); +void ex_argdelete __ARGS((exarg_T *eap)); +void ex_listdo __ARGS((exarg_T *eap)); +void ex_compiler __ARGS((exarg_T *eap)); +void ex_runtime __ARGS((exarg_T *eap)); +int source_runtime __ARGS((char_u *name, int all)); +int do_in_runtimepath __ARGS((char_u *name, int all, void (*callback)(char_u *fname, void *ck), void *cookie)); +void ex_options __ARGS((exarg_T *eap)); +void ex_source __ARGS((exarg_T *eap)); +linenr_T *source_breakpoint __ARGS((void *cookie)); +int *source_dbg_tick __ARGS((void *cookie)); +int source_level __ARGS((void *cookie)); +int do_source __ARGS((char_u *fname, int check_other, int is_vimrc)); +void ex_scriptnames __ARGS((exarg_T *eap)); +void scriptnames_slash_adjust __ARGS((void)); +char_u *get_scriptname __ARGS((scid_T id)); +void free_scriptnames __ARGS((void)); +char *fgets_cr __ARGS((char *s, int n, FILE *stream)); +char_u *getsourceline __ARGS((int c, void *cookie, int indent)); +void script_line_start __ARGS((void)); +void script_line_exec __ARGS((void)); +void script_line_end __ARGS((void)); +void ex_scriptencoding __ARGS((exarg_T *eap)); +void ex_finish __ARGS((exarg_T *eap)); +void do_finish __ARGS((exarg_T *eap, int reanimate)); +int source_finished __ARGS((char_u *(*fgetline)(int, void *, int), void *cookie)); +void ex_checktime __ARGS((exarg_T *eap)); +char_u *get_mess_lang __ARGS((void)); +void set_lang_var __ARGS((void)); +void ex_language __ARGS((exarg_T *eap)); +char_u *get_lang_arg __ARGS((expand_T *xp, int idx)); /* vim: set ft=c : */ diff --git a/src/proto/gui_beval.pro b/src/proto/gui_beval.pro index 42e0082f9d..33c1738d3f 100644 --- a/src/proto/gui_beval.pro +++ b/src/proto/gui_beval.pro @@ -1,11 +1,11 @@ /* gui_beval.c */ -extern void general_beval_cb __ARGS((BalloonEval *beval, int state)); -extern BalloonEval *gui_mch_create_beval_area __ARGS((void *target, char_u *mesg, void (*mesgCB)(BalloonEval *, int), void *clientData)); -extern void gui_mch_destroy_beval_area __ARGS((BalloonEval *beval)); -extern void gui_mch_enable_beval_area __ARGS((BalloonEval *beval)); -extern void gui_mch_disable_beval_area __ARGS((BalloonEval *beval)); -extern BalloonEval *gui_mch_currently_showing_beval __ARGS((void)); -extern int get_beval_info __ARGS((BalloonEval *beval, int getword, win_T **winp, linenr_T *lnump, char_u **textp, int *colp)); -extern void gui_mch_post_balloon __ARGS((BalloonEval *beval, char_u *mesg)); -extern void gui_mch_unpost_balloon __ARGS((BalloonEval *beval)); +void general_beval_cb __ARGS((BalloonEval *beval, int state)); +BalloonEval *gui_mch_create_beval_area __ARGS((void *target, char_u *mesg, void (*mesgCB)(BalloonEval *, int), void *clientData)); +void gui_mch_destroy_beval_area __ARGS((BalloonEval *beval)); +void gui_mch_enable_beval_area __ARGS((BalloonEval *beval)); +void gui_mch_disable_beval_area __ARGS((BalloonEval *beval)); +BalloonEval *gui_mch_currently_showing_beval __ARGS((void)); +int get_beval_info __ARGS((BalloonEval *beval, int getword, win_T **winp, linenr_T *lnump, char_u **textp, int *colp)); +void gui_mch_post_balloon __ARGS((BalloonEval *beval, char_u *mesg)); +void gui_mch_unpost_balloon __ARGS((BalloonEval *beval)); /* vim: set ft=c : */ diff --git a/src/proto/gui_motif.pro b/src/proto/gui_motif.pro index 57717b90ec..3e08ec9dbd 100644 --- a/src/proto/gui_motif.pro +++ b/src/proto/gui_motif.pro @@ -1,46 +1,46 @@ /* gui_motif.c */ -extern void gui_x11_create_widgets __ARGS((void)); -extern void gui_x11_destroy_widgets __ARGS((void)); -extern void gui_mch_set_text_area_pos __ARGS((int x, int y, int w, int h)); -extern void gui_x11_set_back_color __ARGS((void)); -extern void manage_centered __ARGS((Widget dialog_child)); -extern XmFontList gui_motif_create_fontlist __ARGS((XFontStruct *font)); -extern XmFontList gui_motif_fontset2fontlist __ARGS((XFontSet *fontset)); -extern void gui_mch_enable_menu __ARGS((int flag)); -extern void gui_motif_set_mnemonics __ARGS((int enable)); -extern void gui_mch_add_menu __ARGS((vimmenu_T *menu, int idx)); -extern void gui_mch_toggle_tearoffs __ARGS((int enable)); -extern int gui_mch_text_area_extra_height __ARGS((void)); -extern void gui_mch_compute_menu_height __ARGS((Widget id)); -extern void gui_mch_add_menu_item __ARGS((vimmenu_T *menu, int idx)); -extern void gui_motif_update_mousemodel __ARGS((vimmenu_T *menu)); -extern void gui_mch_new_menu_colors __ARGS((void)); -extern void gui_mch_new_menu_font __ARGS((void)); -extern void gui_mch_new_tooltip_font __ARGS((void)); -extern void gui_mch_new_tooltip_colors __ARGS((void)); -extern void gui_mch_destroy_menu __ARGS((vimmenu_T *menu)); -extern void gui_mch_show_popupmenu __ARGS((vimmenu_T *menu)); -extern void gui_mch_def_colors __ARGS((void)); -extern void gui_mch_set_scrollbar_thumb __ARGS((scrollbar_T *sb, long val, long size, long max)); -extern void gui_mch_set_scrollbar_pos __ARGS((scrollbar_T *sb, int x, int y, int w, int h)); -extern void gui_mch_enable_scrollbar __ARGS((scrollbar_T *sb, int flag)); -extern void gui_mch_create_scrollbar __ARGS((scrollbar_T *sb, int orient)); -extern void gui_mch_destroy_scrollbar __ARGS((scrollbar_T *sb)); -extern void gui_mch_set_scrollbar_colors __ARGS((scrollbar_T *sb)); -extern Window gui_x11_get_wid __ARGS((void)); -extern char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter)); -extern int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *button_names, int dfltbutton, char_u *textfield)); -extern void gui_mch_enable_footer __ARGS((int showit)); -extern void gui_mch_set_footer __ARGS((char_u *s)); -extern void gui_mch_show_toolbar __ARGS((int showit)); -extern int gui_mch_compute_toolbar_height __ARGS((void)); -extern void motif_get_toolbar_colors __ARGS((Pixel *bgp, Pixel *fgp, Pixel *bsp, Pixel *tsp, Pixel *hsp)); -extern void gui_mch_show_tabline __ARGS((int showit)); -extern int gui_mch_showing_tabline __ARGS((void)); -extern void gui_mch_update_tabline __ARGS((void)); -extern void gui_mch_set_curtab __ARGS((int nr)); -extern void gui_motif_menu_fontlist __ARGS((Widget id)); -extern void gui_mch_find_dialog __ARGS((exarg_T *eap)); -extern void gui_mch_replace_dialog __ARGS((exarg_T *eap)); -extern void gui_motif_synch_fonts __ARGS((void)); +void gui_x11_create_widgets __ARGS((void)); +void gui_x11_destroy_widgets __ARGS((void)); +void gui_mch_set_text_area_pos __ARGS((int x, int y, int w, int h)); +void gui_x11_set_back_color __ARGS((void)); +void manage_centered __ARGS((Widget dialog_child)); +XmFontList gui_motif_create_fontlist __ARGS((XFontStruct *font)); +XmFontList gui_motif_fontset2fontlist __ARGS((XFontSet *fontset)); +void gui_mch_enable_menu __ARGS((int flag)); +void gui_motif_set_mnemonics __ARGS((int enable)); +void gui_mch_add_menu __ARGS((vimmenu_T *menu, int idx)); +void gui_mch_toggle_tearoffs __ARGS((int enable)); +int gui_mch_text_area_extra_height __ARGS((void)); +void gui_mch_compute_menu_height __ARGS((Widget id)); +void gui_mch_add_menu_item __ARGS((vimmenu_T *menu, int idx)); +void gui_motif_update_mousemodel __ARGS((vimmenu_T *menu)); +void gui_mch_new_menu_colors __ARGS((void)); +void gui_mch_new_menu_font __ARGS((void)); +void gui_mch_new_tooltip_font __ARGS((void)); +void gui_mch_new_tooltip_colors __ARGS((void)); +void gui_mch_destroy_menu __ARGS((vimmenu_T *menu)); +void gui_mch_show_popupmenu __ARGS((vimmenu_T *menu)); +void gui_mch_def_colors __ARGS((void)); +void gui_mch_set_scrollbar_thumb __ARGS((scrollbar_T *sb, long val, long size, long max)); +void gui_mch_set_scrollbar_pos __ARGS((scrollbar_T *sb, int x, int y, int w, int h)); +void gui_mch_enable_scrollbar __ARGS((scrollbar_T *sb, int flag)); +void gui_mch_create_scrollbar __ARGS((scrollbar_T *sb, int orient)); +void gui_mch_destroy_scrollbar __ARGS((scrollbar_T *sb)); +void gui_mch_set_scrollbar_colors __ARGS((scrollbar_T *sb)); +Window gui_x11_get_wid __ARGS((void)); +char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter)); +int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *button_names, int dfltbutton, char_u *textfield)); +void gui_mch_enable_footer __ARGS((int showit)); +void gui_mch_set_footer __ARGS((char_u *s)); +void gui_mch_show_toolbar __ARGS((int showit)); +int gui_mch_compute_toolbar_height __ARGS((void)); +void motif_get_toolbar_colors __ARGS((Pixel *bgp, Pixel *fgp, Pixel *bsp, Pixel *tsp, Pixel *hsp)); +void gui_mch_show_tabline __ARGS((int showit)); +int gui_mch_showing_tabline __ARGS((void)); +void gui_mch_update_tabline __ARGS((void)); +void gui_mch_set_curtab __ARGS((int nr)); +void gui_motif_menu_fontlist __ARGS((Widget id)); +void gui_mch_find_dialog __ARGS((exarg_T *eap)); +void gui_mch_replace_dialog __ARGS((exarg_T *eap)); +void gui_motif_synch_fonts __ARGS((void)); /* vim: set ft=c : */ diff --git a/src/proto/gui_x11.pro b/src/proto/gui_x11.pro index f8abb070f1..d0aec94d60 100644 --- a/src/proto/gui_x11.pro +++ b/src/proto/gui_x11.pro @@ -1,70 +1,70 @@ /* gui_x11.c */ -extern void gui_x11_key_hit_cb __ARGS((Widget w, XtPointer dud, XEvent *event, Boolean *dum)); -extern void gui_mch_prepare __ARGS((int *argc, char **argv)); -extern int gui_mch_init_check __ARGS((void)); -extern int gui_mch_init __ARGS((void)); -extern void gui_mch_uninit __ARGS((void)); -extern void gui_mch_new_colors __ARGS((void)); -extern int gui_mch_open __ARGS((void)); -extern void gui_init_tooltip_font __ARGS((void)); -extern void gui_init_menu_font __ARGS((void)); -extern void gui_mch_exit __ARGS((int rc)); -extern int gui_mch_get_winpos __ARGS((int *x, int *y)); -extern void gui_mch_set_winpos __ARGS((int x, int y)); -extern void gui_mch_set_shellsize __ARGS((int width, int height, int min_width, int min_height, int base_width, int base_height, int direction)); -extern void gui_mch_get_screen_dimensions __ARGS((int *screen_w, int *screen_h)); -extern int gui_mch_init_font __ARGS((char_u *font_name, int do_fontset)); -extern GuiFont gui_mch_get_font __ARGS((char_u *name, int giveErrorIfMissing)); -extern char_u *gui_mch_get_fontname __ARGS((GuiFont font, char_u *name)); -extern int gui_mch_adjust_charheight __ARGS((void)); -extern void gui_mch_set_font __ARGS((GuiFont font)); -extern void gui_mch_set_fontset __ARGS((GuiFontset fontset)); -extern void gui_mch_free_font __ARGS((GuiFont font)); -extern void gui_mch_free_fontset __ARGS((GuiFontset fontset)); -extern GuiFontset gui_mch_get_fontset __ARGS((char_u *name, int giveErrorIfMissing, int fixed_width)); -extern int fontset_height __ARGS((XFontSet fs)); -extern int fontset_height2 __ARGS((XFontSet fs)); -extern guicolor_T gui_mch_get_color __ARGS((char_u *reqname)); -extern void gui_mch_set_fg_color __ARGS((guicolor_T color)); -extern void gui_mch_set_bg_color __ARGS((guicolor_T color)); -extern void gui_mch_set_sp_color __ARGS((guicolor_T color)); -extern void gui_mch_draw_string __ARGS((int row, int col, char_u *s, int len, int flags)); -extern int gui_mch_haskey __ARGS((char_u *name)); -extern int gui_get_x11_windis __ARGS((Window *win, Display **dis)); -extern void gui_mch_beep __ARGS((void)); -extern void gui_mch_flash __ARGS((int msec)); -extern void gui_mch_invert_rectangle __ARGS((int r, int c, int nr, int nc)); -extern void gui_mch_iconify __ARGS((void)); -extern void gui_mch_set_foreground __ARGS((void)); -extern void gui_mch_draw_hollow_cursor __ARGS((guicolor_T color)); -extern void gui_mch_draw_part_cursor __ARGS((int w, int h, guicolor_T color)); -extern void gui_mch_update __ARGS((void)); -extern int gui_mch_wait_for_chars __ARGS((long wtime)); -extern void gui_mch_flush __ARGS((void)); -extern void gui_mch_clear_block __ARGS((int row1, int col1, int row2, int col2)); -extern void gui_mch_clear_all __ARGS((void)); -extern void gui_mch_delete_lines __ARGS((int row, int num_lines)); -extern void gui_mch_insert_lines __ARGS((int row, int num_lines)); -extern void clip_mch_lose_selection __ARGS((VimClipboard *cbd)); -extern int clip_mch_own_selection __ARGS((VimClipboard *cbd)); -extern void clip_mch_request_selection __ARGS((VimClipboard *cbd)); -extern void clip_mch_set_selection __ARGS((VimClipboard *cbd)); -extern void gui_mch_menu_grey __ARGS((vimmenu_T *menu, int grey)); -extern void gui_mch_menu_hidden __ARGS((vimmenu_T *menu, int hidden)); -extern void gui_mch_draw_menubar __ARGS((void)); -extern void gui_x11_menu_cb __ARGS((Widget w, XtPointer client_data, XtPointer call_data)); -extern void gui_mch_set_blinking __ARGS((long waittime, long on, long off)); -extern void gui_mch_stop_blink __ARGS((void)); -extern void gui_mch_start_blink __ARGS((void)); -extern long_u gui_mch_get_rgb __ARGS((guicolor_T pixel)); -extern void gui_x11_callbacks __ARGS((Widget textArea, Widget vimForm)); -extern void gui_mch_getmouse __ARGS((int *x, int *y)); -extern void gui_mch_setmouse __ARGS((int x, int y)); -extern XButtonPressedEvent *gui_x11_get_last_mouse_event __ARGS((void)); -extern void gui_mch_drawsign __ARGS((int row, int col, int typenr)); -extern void *gui_mch_register_sign __ARGS((char_u *signfile)); -extern void gui_mch_destroy_sign __ARGS((void *sign)); -extern void gui_mch_mousehide __ARGS((int hide)); -extern void mch_set_mouse_shape __ARGS((int shape)); -extern void gui_mch_menu_set_tip __ARGS((vimmenu_T *menu)); +void gui_x11_key_hit_cb __ARGS((Widget w, XtPointer dud, XEvent *event, Boolean *dum)); +void gui_mch_prepare __ARGS((int *argc, char **argv)); +int gui_mch_init_check __ARGS((void)); +int gui_mch_init __ARGS((void)); +void gui_mch_uninit __ARGS((void)); +void gui_mch_new_colors __ARGS((void)); +int gui_mch_open __ARGS((void)); +void gui_init_tooltip_font __ARGS((void)); +void gui_init_menu_font __ARGS((void)); +void gui_mch_exit __ARGS((int rc)); +int gui_mch_get_winpos __ARGS((int *x, int *y)); +void gui_mch_set_winpos __ARGS((int x, int y)); +void gui_mch_set_shellsize __ARGS((int width, int height, int min_width, int min_height, int base_width, int base_height, int direction)); +void gui_mch_get_screen_dimensions __ARGS((int *screen_w, int *screen_h)); +int gui_mch_init_font __ARGS((char_u *font_name, int do_fontset)); +GuiFont gui_mch_get_font __ARGS((char_u *name, int giveErrorIfMissing)); +char_u *gui_mch_get_fontname __ARGS((GuiFont font, char_u *name)); +int gui_mch_adjust_charheight __ARGS((void)); +void gui_mch_set_font __ARGS((GuiFont font)); +void gui_mch_set_fontset __ARGS((GuiFontset fontset)); +void gui_mch_free_font __ARGS((GuiFont font)); +void gui_mch_free_fontset __ARGS((GuiFontset fontset)); +GuiFontset gui_mch_get_fontset __ARGS((char_u *name, int giveErrorIfMissing, int fixed_width)); +int fontset_height __ARGS((XFontSet fs)); +int fontset_height2 __ARGS((XFontSet fs)); +guicolor_T gui_mch_get_color __ARGS((char_u *reqname)); +void gui_mch_set_fg_color __ARGS((guicolor_T color)); +void gui_mch_set_bg_color __ARGS((guicolor_T color)); +void gui_mch_set_sp_color __ARGS((guicolor_T color)); +void gui_mch_draw_string __ARGS((int row, int col, char_u *s, int len, int flags)); +int gui_mch_haskey __ARGS((char_u *name)); +int gui_get_x11_windis __ARGS((Window *win, Display **dis)); +void gui_mch_beep __ARGS((void)); +void gui_mch_flash __ARGS((int msec)); +void gui_mch_invert_rectangle __ARGS((int r, int c, int nr, int nc)); +void gui_mch_iconify __ARGS((void)); +void gui_mch_set_foreground __ARGS((void)); +void gui_mch_draw_hollow_cursor __ARGS((guicolor_T color)); +void gui_mch_draw_part_cursor __ARGS((int w, int h, guicolor_T color)); +void gui_mch_update __ARGS((void)); +int gui_mch_wait_for_chars __ARGS((long wtime)); +void gui_mch_flush __ARGS((void)); +void gui_mch_clear_block __ARGS((int row1, int col1, int row2, int col2)); +void gui_mch_clear_all __ARGS((void)); +void gui_mch_delete_lines __ARGS((int row, int num_lines)); +void gui_mch_insert_lines __ARGS((int row, int num_lines)); +void clip_mch_lose_selection __ARGS((VimClipboard *cbd)); +int clip_mch_own_selection __ARGS((VimClipboard *cbd)); +void clip_mch_request_selection __ARGS((VimClipboard *cbd)); +void clip_mch_set_selection __ARGS((VimClipboard *cbd)); +void gui_mch_menu_grey __ARGS((vimmenu_T *menu, int grey)); +void gui_mch_menu_hidden __ARGS((vimmenu_T *menu, int hidden)); +void gui_mch_draw_menubar __ARGS((void)); +void gui_x11_menu_cb __ARGS((Widget w, XtPointer client_data, XtPointer call_data)); +void gui_mch_set_blinking __ARGS((long waittime, long on, long off)); +void gui_mch_stop_blink __ARGS((void)); +void gui_mch_start_blink __ARGS((void)); +long_u gui_mch_get_rgb __ARGS((guicolor_T pixel)); +void gui_x11_callbacks __ARGS((Widget textArea, Widget vimForm)); +void gui_mch_getmouse __ARGS((int *x, int *y)); +void gui_mch_setmouse __ARGS((int x, int y)); +XButtonPressedEvent *gui_x11_get_last_mouse_event __ARGS((void)); +void gui_mch_drawsign __ARGS((int row, int col, int typenr)); +void *gui_mch_register_sign __ARGS((char_u *signfile)); +void gui_mch_destroy_sign __ARGS((void *sign)); +void gui_mch_mousehide __ARGS((int hide)); +void mch_set_mouse_shape __ARGS((int shape)); +void gui_mch_menu_set_tip __ARGS((vimmenu_T *menu)); /* vim: set ft=c : */ diff --git a/src/proto/hangulin.pro b/src/proto/hangulin.pro index 350b1cbc52..adfde142ff 100644 --- a/src/proto/hangulin.pro +++ b/src/proto/hangulin.pro @@ -1,9 +1,9 @@ /* hangulin.c */ -extern int hangul_input_state_get __ARGS((void)); -extern void hangul_input_state_set __ARGS((int state)); -extern int im_get_status __ARGS((void)); -extern void hangul_input_state_toggle __ARGS((void)); < |