annotate src/proto/time.pro @ 20751:d9a2e5dcfd9f v8.2.0928

patch 8.2.0928: many type casts are used for vim_strnsave() Commit: https://github.com/vim/vim/commit/df44a27b53586fccfc6a3aedc89061fdd9a515ff Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 7 20:49:05 2020 +0200 patch 8.2.0928: many type casts are used for vim_strnsave() Problem: Many type casts are used for vim_strnsave(). Solution: Make the length argument size_t instead of int. (Ken Takata, closes #5633) Remove some type casts.
author Bram Moolenaar <Bram@vim.org>
date Sun, 07 Jun 2020 21:00:03 +0200
parents a961efb326e5
children f103da6ba95f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19396
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 /* time.c */
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 char *get_ctime(time_t thetime, int add_newline);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 time_T vim_time(void);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 void f_localtime(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 void f_reltime(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 void f_reltimefloat(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 void f_reltimestr(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 void f_strftime(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 void f_strptime(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 long proftime_time_left(proftime_T *due, proftime_T *now);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 timer_T *create_timer(long msec, int repeat);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 long check_due_timer(void);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 void stop_timer(timer_T *timer);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 int set_ref_in_timer(int copyID);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 void timer_free_all(void);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 void f_timer_info(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 void f_timer_pause(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 void f_timer_start(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 void f_timer_stop(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 void f_timer_stopall(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 void time_push(void *tv_rel, void *tv_start);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22 void time_pop(void *tp);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 void time_msg(char *mesg, void *tv_start);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24 time_T get8ctime(FILE *fd);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25 int put_time(FILE *fd, time_T the_time);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
26 void time_to_bytes(time_T the_time, char_u *buf);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
27 void add_time(char_u *buf, size_t buflen, time_t tt);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
28 /* vim: set ft=c : */