diff options
| author | Florian Walch <fwalch@users.noreply.github.com> | 2015-04-09 00:02:09 +0300 |
|---|---|---|
| committer | Florian Walch <fwalch@users.noreply.github.com> | 2015-04-09 00:02:09 +0300 |
| commit | 04e09ba74279d286985333486c43f14a935a13c2 (patch) | |
| tree | 0f6dbc6ca1ddcb79f53d7c42b6adc18ba65f6727 /src/nvim/undo_defs.h | |
| parent | e1bac3b84090d07afa669a8b79816c28813c605e (diff) | |
| parent | dea2731184f23521f5eae03ab46cbe811b8825b7 (diff) | |
| download | rneovim-04e09ba74279d286985333486c43f14a935a13c2.tar.gz rneovim-04e09ba74279d286985333486c43f14a935a13c2.tar.bz2 rneovim-04e09ba74279d286985333486c43f14a935a13c2.zip | |
Merge pull request #1805 from fwalch/vim-7.4.399
vim-patch: Port parts of Vim 7.4.399.
Diffstat (limited to 'src/nvim/undo_defs.h')
| -rw-r--r-- | src/nvim/undo_defs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/undo_defs.h b/src/nvim/undo_defs.h index 2579f13b93..610adb4367 100644 --- a/src/nvim/undo_defs.h +++ b/src/nvim/undo_defs.h @@ -4,6 +4,7 @@ #include <time.h> // for time_t #include "nvim/pos.h" +#include "nvim/buffer_defs.h" /* Structure to store info about the Visual area. */ typedef struct { @@ -67,4 +68,10 @@ struct u_header { #define UH_CHANGED 0x01 /* b_changed flag before undo/after redo */ #define UH_EMPTYBUF 0x02 /* buffer was empty */ +/// Structure passed around between undofile functions. +typedef struct { + buf_T *bi_buf; + FILE *bi_fp; +} bufinfo_T; + #endif // NVIM_UNDO_DEFS_H |