Mercurial > vim
changeset 9242:f7e95dc00e5a v7.4.1904
commit https://github.com/vim/vim/commit/c60954b48ec225c75558abee56c4a9cc89f84b7e
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 6 21:20:10 2016 +0200
patch 7.4.1904
Problem: Build fails.
Solution: Add missing changes.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 06 Jun 2016 21:30:06 +0200 |
parents | 3657b2df1ca2 |
children | 9bc59a88f8c3 |
files | src/version.c src/vim.h |
diffstat | 2 files changed, 23 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1904, +/**/ 1903, /**/ 1902,
--- a/src/vim.h +++ b/src/vim.h @@ -1063,7 +1063,7 @@ extern char *(*dyn_libintl_textdomain)(c #define OPENLINE_COM_LIST 16 /* format comments with list/2nd line indent */ /* - * There are four history tables: + * There are five history tables: */ #define HIST_CMD 0 /* colon commands */ #define HIST_SEARCH 1 /* search commands */ @@ -1072,6 +1072,26 @@ extern char *(*dyn_libintl_textdomain)(c #define HIST_DEBUG 4 /* debug commands */ #define HIST_COUNT 5 /* number of history tables */ +/* The type numbers are fixed for backwards compatibility. */ +#define BARTYPE_VERSION 1 +#define BARTYPE_HISTORY 2 + +typedef enum { + BVAL_NR, + BVAL_STRING, + BVAL_EMPTY +} btype_T; + +#define BVAL_MAX 4 /* Maximum number of fields in a barline. */ + +typedef struct { + btype_T bv_type; + long bv_nr; + char_u *bv_string; + int bv_len; /* length of bv_string */ + int bv_allocated; /* bv_string was allocated */ +} bval_T; + /* * Values for do_tag(). */