annotate src/proto/cmdhist.pro @ 19736:4174c4da6ff7 v8.2.0424

patch 8.2.0424: checking for wrong return value Commit: https://github.com/vim/vim/commit/97acfc781bdb7fa2838dc6e0e7f9952ea61bb2fd Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 22 13:44:28 2020 +0100 patch 8.2.0424: checking for wrong return value Problem: Checking for wrong return value. (Tom) Solution: Invert the check and fix the test.
author Bram Moolenaar <Bram@vim.org>
date Sun, 22 Mar 2020 13:45:08 +0100
parents 05b240971884
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17652
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 /* cmdhist.c */
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 int get_hislen(void);
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 histentry_T *get_histentry(int hist_type);
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 void set_histentry(int hist_type, histentry_T *entry);
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 int *get_hisidx(int hist_type);
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 int *get_hisnum(int hist_type);
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 int hist_char2type(int c);
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 char_u *get_history_arg(expand_T *xp, int idx);
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 void init_history(void);
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 void clear_hist_entry(histentry_T *hisptr);
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 int in_history(int type, char_u *str, int move_to_front, int sep, int writing);
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 void add_to_history(int histype, char_u *new_entry, int in_map, int sep);
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 void f_histadd(typval_T *argvars, typval_T *rettv);
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 void f_histdel(typval_T *argvars, typval_T *rettv);
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 void f_histget(typval_T *argvars, typval_T *rettv);
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 void f_histnr(typval_T *argvars, typval_T *rettv);
18840
05b240971884 patch 8.1.2407: proto files, dependencies and build instructions outdated
Bram Moolenaar <Bram@vim.org>
parents: 17652
diff changeset
17 void remove_key_from_history(void);
05b240971884 patch 8.1.2407: proto files, dependencies and build instructions outdated
Bram Moolenaar <Bram@vim.org>
parents: 17652
diff changeset
18 void ex_history(exarg_T *eap);
17652
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 /* vim: set ft=c : */