comparison src/proto/ex_cmds2.pro @ 9810:6a28d0c6f929 v7.4.2180

commit https://github.com/vim/vim/commit/b73598e2f022a22fec512ea681c70d2775e8fd87 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 7 18:22:53 2016 +0200 patch 7.4.2180 Problem: There is no easy way to stop all timers. There is no way to temporary pause a timer. Solution: Add timer_stopall() and timer_pause().
author Christian Brabandt <cb@256bit.org>
date Sun, 07 Aug 2016 18:30:05 +0200
parents 34cc6a101340
children 3db463d4df25
comparison
equal deleted inserted replaced
9809:f08483937ffd 9810:6a28d0c6f929
20 void profile_zero(proftime_T *tm); 20 void profile_zero(proftime_T *tm);
21 timer_T *create_timer(long msec, int repeat); 21 timer_T *create_timer(long msec, int repeat);
22 long check_due_timer(void); 22 long check_due_timer(void);
23 timer_T *find_timer(int id); 23 timer_T *find_timer(int id);
24 void stop_timer(timer_T *timer); 24 void stop_timer(timer_T *timer);
25 void stop_all_timers(void);
25 void add_timer_info(typval_T *rettv, timer_T *timer); 26 void add_timer_info(typval_T *rettv, timer_T *timer);
26 void add_timer_info_all(typval_T *rettv); 27 void add_timer_info_all(typval_T *rettv);
27 int set_ref_in_timer(int copyID); 28 int set_ref_in_timer(int copyID);
28 void timer_free_all(void); 29 void timer_free_all(void);
29 void profile_divide(proftime_T *tm, int count, proftime_T *tm2); 30 void profile_divide(proftime_T *tm, int count, proftime_T *tm2);