aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-05-23 18:10:52 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-23 18:10:52 -0300
commit9e95c8aa331e3872253e7a06be32103b440bc97f (patch)
treed25a81cd37939466e5b9c8b33b3566f9aefbdf49 /src/nvim/buffer_defs.h
parentf1e52c496ddb89f830cdbc4f23d756131106b97f (diff)
parent6c96e42e2c18bd6ae685b5a41c69b03954aa0375 (diff)
downloadrneovim-9e95c8aa331e3872253e7a06be32103b440bc97f.tar.gz
rneovim-9e95c8aa331e3872253e7a06be32103b440bc97f.tar.bz2
rneovim-9e95c8aa331e3872253e7a06be32103b440bc97f.zip
Merge branch 'use-uids-for-api-remote-objects'
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index d658da9502..0a24280b4a 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -401,6 +401,7 @@ typedef struct {
*/
struct file_buffer {
+ uint64_t handle; // unique identifier for the buffer
memline_T b_ml; /* associated memline (also contains line
count) */
@@ -737,6 +738,7 @@ struct diffblock_S {
*/
typedef struct tabpage_S tabpage_T;
struct tabpage_S {
+ uint64_t handle;
tabpage_T *tp_next; /* next tabpage or NULL */
frame_T *tp_topframe; /* topframe for the windows */
win_T *tp_curwin; /* current window in this Tab page */
@@ -839,6 +841,7 @@ struct matchitem {
* All row numbers are relative to the start of the window, except w_winrow.
*/
struct window_S {
+ uint64_t handle;
buf_T *w_buffer; /* buffer we are a window into (used
often, keep it the first item!) */