Mercurial > vim
annotate src/proto/ex_cmds2.pro @ 6773:eb4b705a5d6a v7.4.708
patch 7.4.708
Problem: gettext() is called too often.
Solution: Do not call gettext() for messages until they are actually used.
(idea by Yasuhiro Matsumoto)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 21 Apr 2015 16:49:05 +0200 |
parents | 9c777e2c7024 |
children | 15eefe1b0dad |
rev | line source |
---|---|
7 | 1 /* ex_cmds2.c */ |
1125 | 2 void do_debug __ARGS((char_u *cmd)); |
3 void ex_debug __ARGS((exarg_T *eap)); | |
4 void dbg_check_breakpoint __ARGS((exarg_T *eap)); | |
5 int dbg_check_skipped __ARGS((exarg_T *eap)); | |
6 void ex_breakadd __ARGS((exarg_T *eap)); | |
7 void ex_debuggreedy __ARGS((exarg_T *eap)); | |
8 void ex_breakdel __ARGS((exarg_T *eap)); | |
9 void ex_breaklist __ARGS((exarg_T *eap)); | |
10 linenr_T dbg_find_breakpoint __ARGS((int file, char_u *fname, linenr_T after)); | |
11 int has_profiling __ARGS((int file, char_u *fname, int *fp)); | |
12 void dbg_breakpoint __ARGS((char_u *name, linenr_T lnum)); | |
13 void profile_start __ARGS((proftime_T *tm)); | |
14 void profile_end __ARGS((proftime_T *tm)); | |
15 void profile_sub __ARGS((proftime_T *tm, proftime_T *tm2)); | |
16 char *profile_msg __ARGS((proftime_T *tm)); | |
1496 | 17 void profile_setlimit __ARGS((long msec, proftime_T *tm)); |
18 int profile_passed_limit __ARGS((proftime_T *tm)); | |
1125 | 19 void profile_zero __ARGS((proftime_T *tm)); |
4764
f824cb97eb92
updated for version 7.3.1129
Bram Moolenaar <bram@vim.org>
parents:
3620
diff
changeset
|
20 void profile_divide __ARGS((proftime_T *tm, int count, proftime_T *tm2)); |
1125 | 21 void profile_add __ARGS((proftime_T *tm, proftime_T *tm2)); |
22 void profile_self __ARGS((proftime_T *self, proftime_T *total, proftime_T *children)); | |
23 void profile_get_wait __ARGS((proftime_T *tm)); | |
24 void profile_sub_wait __ARGS((proftime_T *tm, proftime_T *tma)); | |
25 int profile_equal __ARGS((proftime_T *tm1, proftime_T *tm2)); | |
4764
f824cb97eb92
updated for version 7.3.1129
Bram Moolenaar <bram@vim.org>
parents:
3620
diff
changeset
|
26 int profile_cmp __ARGS((const proftime_T *tm1, const proftime_T *tm2)); |
1125 | 27 void ex_profile __ARGS((exarg_T *eap)); |
2068
98a2a6e6b966
updated for version 7.2.353
Bram Moolenaar <bram@zimbu.org>
parents:
1496
diff
changeset
|
28 char_u *get_profile_name __ARGS((expand_T *xp, int idx)); |
98a2a6e6b966
updated for version 7.2.353
Bram Moolenaar <bram@zimbu.org>
parents:
1496
diff
changeset
|
29 void set_context_in_profile_cmd __ARGS((expand_T *xp, char_u *arg)); |
1125 | 30 void profile_dump __ARGS((void)); |
31 void script_prof_save __ARGS((proftime_T *tm)); | |
32 void script_prof_restore __ARGS((proftime_T *tm)); | |
33 void prof_inchar_enter __ARGS((void)); | |
34 void prof_inchar_exit __ARGS((void)); | |
35 int prof_def_func __ARGS((void)); | |
36 int autowrite __ARGS((buf_T *buf, int forceit)); | |
37 void autowrite_all __ARGS((void)); | |
5464 | 38 int check_changed __ARGS((buf_T *buf, int flags)); |
1125 | 39 void browse_save_fname __ARGS((buf_T *buf)); |
40 void dialog_changed __ARGS((buf_T *buf, int checkall)); | |
41 int can_abandon __ARGS((buf_T *buf, int forceit)); | |
42 int check_changed_any __ARGS((int hidden)); | |
43 int check_fname __ARGS((void)); | |
44 int buf_write_all __ARGS((buf_T *buf, int forceit)); | |
45 int get_arglist __ARGS((garray_T *gap, char_u *str)); | |
3620 | 46 int get_arglist_exp __ARGS((char_u *str, int *fcountp, char_u ***fnamesp, int wig)); |
1125 | 47 void set_arglist __ARGS((char_u *str)); |
48 void check_arg_idx __ARGS((win_T *win)); | |
49 void ex_args __ARGS((exarg_T *eap)); | |
50 void ex_previous __ARGS((exarg_T *eap)); | |
51 void ex_rewind __ARGS((exarg_T *eap)); | |
52 void ex_last __ARGS((exarg_T *eap)); | |
53 void ex_argument __ARGS((exarg_T *eap)); | |
54 void do_argfile __ARGS((exarg_T *eap, int argn)); | |
55 void ex_next __ARGS((exarg_T *eap)); | |
56 void ex_argedit __ARGS((exarg_T *eap)); | |
57 void ex_argadd __ARGS((exarg_T *eap)); | |
58 void ex_argdelete __ARGS((exarg_T *eap)); | |
59 void ex_listdo __ARGS((exarg_T *eap)); | |
60 void ex_compiler __ARGS((exarg_T *eap)); | |
61 void ex_runtime __ARGS((exarg_T *eap)); | |
62 int source_runtime __ARGS((char_u *name, int all)); | |
63 int do_in_runtimepath __ARGS((char_u *name, int all, void (*callback)(char_u *fname, void *ck), void *cookie)); | |
64 void ex_options __ARGS((exarg_T *eap)); | |
65 void ex_source __ARGS((exarg_T *eap)); | |
66 linenr_T *source_breakpoint __ARGS((void *cookie)); | |
67 int *source_dbg_tick __ARGS((void *cookie)); | |
68 int source_level __ARGS((void *cookie)); | |
69 int do_source __ARGS((char_u *fname, int check_other, int is_vimrc)); | |
70 void ex_scriptnames __ARGS((exarg_T *eap)); | |
71 void scriptnames_slash_adjust __ARGS((void)); | |
72 char_u *get_scriptname __ARGS((scid_T id)); | |
73 void free_scriptnames __ARGS((void)); | |
74 char *fgets_cr __ARGS((char *s, int n, FILE *stream)); | |
75 char_u *getsourceline __ARGS((int c, void *cookie, int indent)); | |
76 void script_line_start __ARGS((void)); | |
77 void script_line_exec __ARGS((void)); | |
78 void script_line_end __ARGS((void)); | |
79 void ex_scriptencoding __ARGS((exarg_T *eap)); | |
80 void ex_finish __ARGS((exarg_T *eap)); | |
81 void do_finish __ARGS((exarg_T *eap, int reanimate)); | |
82 int source_finished __ARGS((char_u *(*fgetline)(int, void *, int), void *cookie)); | |
83 void ex_checktime __ARGS((exarg_T *eap)); | |
84 char_u *get_mess_lang __ARGS((void)); | |
85 void set_lang_var __ARGS((void)); | |
86 void ex_language __ARGS((exarg_T *eap)); | |
2849 | 87 void free_locales __ARGS((void)); |
1125 | 88 char_u *get_lang_arg __ARGS((expand_T *xp, int idx)); |
2849 | 89 char_u *get_locales __ARGS((expand_T *xp, int idx)); |
7 | 90 /* vim: set ft=c : */ |