summaryrefslogtreecommitdiff
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-06 14:01:46 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-06 14:01:46 +0200
commit8a7f5a2d4379bdc16502c01456bb4dc5051ed965 (patch)
tree7d186db050fb2682a54269a598f65dbffc75cb6d /src/proto
parentcd2d8bb6ea55179d69aaf559942133ed8e93341e (diff)
downloadvim-8a7f5a2d4379bdc16502c01456bb4dc5051ed965.zip
updated for version 7.3.1129
Problem: Can't see what pattern in syntax highlighting is slow. Solution: Add the ":syntime" command.
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/ex_cmds2.pro3
-rw-r--r--src/proto/syntax.pro1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/proto/ex_cmds2.pro b/src/proto/ex_cmds2.pro
index e4406d161..d30ba41ef 100644
--- a/src/proto/ex_cmds2.pro
+++ b/src/proto/ex_cmds2.pro
@@ -17,12 +17,13 @@ char *profile_msg __ARGS((proftime_T *tm));
void profile_setlimit __ARGS((long msec, proftime_T *tm));
int profile_passed_limit __ARGS((proftime_T *tm));
void profile_zero __ARGS((proftime_T *tm));
+void profile_divide __ARGS((proftime_T *tm, int count, proftime_T *tm2));
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));
+int profile_cmp __ARGS((const proftime_T *tm1, const proftime_T *tm2));
void ex_profile __ARGS((exarg_T *eap));
char_u *get_profile_name __ARGS((expand_T *xp, int idx));
void set_context_in_profile_cmd __ARGS((expand_T *xp, char_u *arg));
diff --git a/src/proto/syntax.pro b/src/proto/syntax.pro
index 7ae13e98e..2f57051ca 100644
--- a/src/proto/syntax.pro
+++ b/src/proto/syntax.pro
@@ -19,6 +19,7 @@ int get_syntax_info __ARGS((int *seqnrp));
int syn_get_sub_char __ARGS((void));
int syn_get_stack_item __ARGS((int i));
int syn_get_foldlevel __ARGS((win_T *wp, long lnum));
+void ex_syntime __ARGS((exarg_T *eap));
void init_highlight __ARGS((int both, int reset));
int load_colors __ARGS((char_u *name));
void do_highlight __ARGS((char_u *line, int forceit, int init));