From 8a7f5a2d4379bdc16502c01456bb4dc5051ed965 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 6 Jun 2013 14:01:46 +0200 Subject: updated for version 7.3.1129 Problem: Can't see what pattern in syntax highlighting is slow. Solution: Add the ":syntime" command. --- src/proto/ex_cmds2.pro | 3 ++- src/proto/syntax.pro | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/proto') 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)); -- cgit v1.2.3