Mercurial > vim
annotate src/proto/sign.pro @ 16815:6fdb0ae0cac3 v8.1.1409
patch 8.1.1409: Coverity warns for using uninitialized memory
commit https://github.com/vim/vim/commit/b43683729b64f83c39840524be232388314bd71f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 27 20:01:41 2019 +0200
patch 8.1.1409: Coverity warns for using uninitialized memory
Problem: Coverity warns for using uninitialized memory.
Solution: Add a condition to clearing the growarray.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 27 May 2019 20:15:05 +0200 |
parents | 2b29779475c0 |
children | 210c4c5f783d |
rev | line source |
---|---|
15330
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* sign.c */ |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 void init_signs(void); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 int buf_getsigntype(buf_T *buf, linenr_T lnum, int type); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 linenr_T buf_delsign(buf_T *buf, linenr_T atlnum, int id, char_u *group); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 int buf_findsign(buf_T *buf, int id, char_u *group); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 int buf_findsign_id(buf_T *buf, linenr_T lnum, char_u *groupname); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 int buf_findsigntype_id(buf_T *buf, linenr_T lnum, int typenr); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 int buf_signcount(buf_T *buf, linenr_T lnum); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 void buf_delete_signs(buf_T *buf, char_u *group); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 void sign_mark_adjust(linenr_T line1, linenr_T line2, long amount, long amount_after); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 int sign_define_by_name(char_u *name, char_u *icon, char_u *linehl, char_u *text, char_u *texthl); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
12 int sign_undefine_by_name(char_u *name); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 int sign_place(int *sign_id, char_u *sign_group, char_u *sign_name, buf_T *buf, linenr_T lnum, int prio); |
15717
2b29779475c0
patch 8.1.0866: build file dependencies are outdated
Bram Moolenaar <Bram@vim.org>
parents:
15418
diff
changeset
|
14 int sign_unplace(int sign_id, char_u *sign_group, buf_T *buf, linenr_T atlnum); |
15418
51b3c36b0523
patch 8.1.0717: there is no function for the ":sign jump" command
Bram Moolenaar <Bram@vim.org>
parents:
15330
diff
changeset
|
15 linenr_T sign_jump(int sign_id, char_u *sign_group, buf_T *buf); |
15330
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
16 void ex_sign(exarg_T *eap); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
17 void sign_getlist(char_u *name, list_T *retlist); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
18 void get_buffer_signs(buf_T *buf, list_T *l); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
19 void sign_get_placed(buf_T *buf, linenr_T lnum, int sign_id, char_u *sign_group, list_T *retlist); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
20 void sign_gui_started(void); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
21 int sign_get_attr(int typenr, int line); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
22 char_u *sign_get_text(int typenr); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
23 void *sign_get_image(int typenr); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
24 void free_signs(void); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
25 char_u *get_sign_name(expand_T *xp, int idx); |
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
26 void set_context_in_sign_cmd(expand_T *xp, char_u *arg); |
15717
2b29779475c0
patch 8.1.0866: build file dependencies are outdated
Bram Moolenaar <Bram@vim.org>
parents:
15418
diff
changeset
|
27 /* vim: set ft=c : */ |