aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-05-23 15:49:35 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-23 16:06:58 -0300
commit5fdf854f78eb1a87acb2d28b3d941d988bd1b74e (patch)
tree8210d30edfa8a0660ad38a7627c8b7555969ed3d /src/nvim/buffer_defs.h
parent20848c4064fc82c160d68770b2e64f5115f0bf60 (diff)
downloadrneovim-5fdf854f78eb1a87acb2d28b3d941d988bd1b74e.tar.gz
rneovim-5fdf854f78eb1a87acb2d28b3d941d988bd1b74e.tar.bz2
rneovim-5fdf854f78eb1a87acb2d28b3d941d988bd1b74e.zip
API: Refactor: Register/unregister created/destroyed tabpages
- Add the 'handle' field to `tabpage_T` - Add declare/implement functions for registering/unregistering/retrieving tabpages - Register/unregister tabpages when they are created/destroyed.
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index 68f70d7bf3..0a24280b4a 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -738,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 */