diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-05-23 23:34:36 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-05-23 23:34:36 +0200 |
commit | 55debbe38429b81c0ce6e8400aef36812eb151d7 (patch) | |
tree | 992320729b697015fb4b99e9f8645cffe2eeddd6 /src/structs.h | |
parent | c39125d7c45d17566665c06358501073ea9c4141 (diff) | |
download | vim-git-55debbe38429b81c0ce6e8400aef36812eb151d7.tar.gz |
Included patch for persistent undo. Lots of changes and added test.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index a34fa664a..a7632b851 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1465,6 +1465,9 @@ struct file_buffer char_u *b_p_dict; /* 'dictionary' local value */ char_u *b_p_tsr; /* 'thesaurus' local value */ #endif +#ifdef FEAT_PERSISTENT_UNDO + int b_p_udf; /* 'undofile' */ +#endif /* end of buffer options */ @@ -2392,3 +2395,9 @@ typedef struct #define CPT_KIND 2 /* "kind" */ #define CPT_INFO 3 /* "info" */ #define CPT_COUNT 4 /* Number of entries */ + +typedef struct { + UINT32_T total[2]; + UINT32_T state[8]; + char_u buffer[64]; +} context_sha256_T; |