Mercurial > vim
annotate src/proto/if_tcl.pro @ 16928:aa9c4703a01b v8.1.1465
patch 8.1.1465: allocating wrong amount of memory
commit https://github.com/vim/vim/commit/a37833dbd7d3cb0fff4cbf0ba6e80d0ad55cd4b9
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 4 22:29:10 2019 +0200
patch 8.1.1465: allocating wrong amount of memory
Problem: Allocating wrong amount of memory. (Yegappan Lakshmanan)
Solution: Use sizeof() for right type of struct.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 04 Jun 2019 22:30:06 +0200 |
parents | 21b0a39d13ed |
children | 9a1b96ae26d1 |
rev | line source |
---|---|
7 | 1 /* if_tcl.c */ |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
2 void vim_tcl_init(char *arg); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
3 int tcl_enabled(int verbose); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
4 void tcl_end(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
5 void ex_tcl(exarg_T *eap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
6 void ex_tclfile(exarg_T *eap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
7 void ex_tcldo(exarg_T *eap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
8 void tcl_buffer_free(buf_T *buf); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1121
diff
changeset
|
9 void tcl_window_free(win_T *win); |
7 | 10 /* vim: set ft=c : */ |