annotate src/proto/time.pro @ 33498:bff8ac203a22 v9.0.1999

patch 9.0.1999: Vim9: some error messages can be improved Commit: https://github.com/vim/vim/commit/e6c9aa5e6a88d539a412a9b5526f41ea101aa185 Author: Ernie Rael <errael@raelity.com> Date: Fri Oct 6 19:55:52 2023 +0200 patch 9.0.1999: Vim9: some error messages can be improved Problem: Vim9: some error messages can be improved Solution: Mention the defining class for variable access error message closes: #13272 Signed-off-by: Christian Brabandt <cb@256bit.org> Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Co-authored-by: Ernie Rael <errael@raelity.com>
author Christian Brabandt <cb@256bit.org>
date Fri, 06 Oct 2023 20:00:06 +0200
parents b9cc46461994
children
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 */
29310
f103da6ba95f patch 8.2.5171: dependencies and proto files are outdated
Bram Moolenaar <Bram@vim.org>
parents: 19396
diff changeset
2 time_T vim_time(void);
19396
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 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
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);
29900
a6721cafbc74 patch 9.0.0288: when 'cmdheight' is zero some messages are not displayed
Bram Moolenaar <Bram@vim.org>
parents: 29310
diff changeset
12 void timer_start(timer_T *timer);
19396
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 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
14 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
15 int set_ref_in_timer(int copyID);
30695
b9cc46461994 patch 9.0.0682: crash when popup with deleted timer is closed
Bram Moolenaar <Bram@vim.org>
parents: 29900
diff changeset
16 int timer_valid(timer_T *timer);
19396
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 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
18 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
19 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
20 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
21 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
22 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
23 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
24 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
25 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
26 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
27 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
28 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
29 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
30 /* vim: set ft=c : */